Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
insn_sanity.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <asm/insn.h>
#include <inat.c>
#include <insn.c>

Go to the source code of this file.

Macros

#define unlikely(cond)   (cond)
 
#define ARRAY_SIZE(a)   (sizeof(a)/sizeof(a[0]))
 
#define DEFAULT_MAX_ITER   10000
 
#define INSN_NOP   0x90
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define ARRAY_SIZE (   a)    (sizeof(a)/sizeof(a[0]))

Definition at line 32 of file insn_sanity.c.

#define DEFAULT_MAX_ITER   10000

Definition at line 44 of file insn_sanity.c.

#define INSN_NOP   0x90

Definition at line 45 of file insn_sanity.c.

#define unlikely (   cond)    (cond)

Definition at line 31 of file insn_sanity.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 236 of file insn_sanity.c.