Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
nops.h File Reference

Go to the source code of this file.

Macros

#define NOP_DS_PREFIX   0x3e
 
#define GENERIC_NOP1   0x90
 
#define GENERIC_NOP2   0x89,0xf6
 
#define GENERIC_NOP3   0x8d,0x76,0x00
 
#define GENERIC_NOP4   0x8d,0x74,0x26,0x00
 
#define GENERIC_NOP5   GENERIC_NOP1,GENERIC_NOP4
 
#define GENERIC_NOP6   0x8d,0xb6,0x00,0x00,0x00,0x00
 
#define GENERIC_NOP7   0x8d,0xb4,0x26,0x00,0x00,0x00,0x00
 
#define GENERIC_NOP8   GENERIC_NOP1,GENERIC_NOP7
 
#define GENERIC_NOP5_ATOMIC   NOP_DS_PREFIX,GENERIC_NOP4
 
#define K8_NOP1   GENERIC_NOP1
 
#define K8_NOP2   0x66,K8_NOP1
 
#define K8_NOP3   0x66,K8_NOP2
 
#define K8_NOP4   0x66,K8_NOP3
 
#define K8_NOP5   K8_NOP3,K8_NOP2
 
#define K8_NOP6   K8_NOP3,K8_NOP3
 
#define K8_NOP7   K8_NOP4,K8_NOP3
 
#define K8_NOP8   K8_NOP4,K8_NOP4
 
#define K8_NOP5_ATOMIC   0x66,K8_NOP4
 
#define K7_NOP1   GENERIC_NOP1
 
#define K7_NOP2   0x8b,0xc0
 
#define K7_NOP3   0x8d,0x04,0x20
 
#define K7_NOP4   0x8d,0x44,0x20,0x00
 
#define K7_NOP5   K7_NOP4,K7_NOP1
 
#define K7_NOP6   0x8d,0x80,0,0,0,0
 
#define K7_NOP7   0x8D,0x04,0x05,0,0,0,0
 
#define K7_NOP8   K7_NOP7,K7_NOP1
 
#define K7_NOP5_ATOMIC   NOP_DS_PREFIX,K7_NOP4
 
#define P6_NOP1   GENERIC_NOP1
 
#define P6_NOP2   0x66,0x90
 
#define P6_NOP3   0x0f,0x1f,0x00
 
#define P6_NOP4   0x0f,0x1f,0x40,0
 
#define P6_NOP5   0x0f,0x1f,0x44,0x00,0
 
#define P6_NOP6   0x66,0x0f,0x1f,0x44,0x00,0
 
#define P6_NOP7   0x0f,0x1f,0x80,0,0,0,0
 
#define P6_NOP8   0x0f,0x1f,0x84,0x00,0,0,0,0
 
#define P6_NOP5_ATOMIC   P6_NOP5
 
#define _ASM_MK_NOP(x)   ".byte " __stringify(x) "\n"
 
#define ASM_NOP1   _ASM_MK_NOP(GENERIC_NOP1)
 
#define ASM_NOP2   _ASM_MK_NOP(GENERIC_NOP2)
 
#define ASM_NOP3   _ASM_MK_NOP(GENERIC_NOP3)
 
#define ASM_NOP4   _ASM_MK_NOP(GENERIC_NOP4)
 
#define ASM_NOP5   _ASM_MK_NOP(GENERIC_NOP5)
 
#define ASM_NOP6   _ASM_MK_NOP(GENERIC_NOP6)
 
#define ASM_NOP7   _ASM_MK_NOP(GENERIC_NOP7)
 
#define ASM_NOP8   _ASM_MK_NOP(GENERIC_NOP8)
 
#define ASM_NOP5_ATOMIC   _ASM_MK_NOP(GENERIC_NOP5_ATOMIC)
 
#define ASM_NOP_MAX   8
 
#define NOP_ATOMIC5   (ASM_NOP_MAX+1) /* Entry for the 5-byte atomic NOP */
 

Functions

void arch_init_ideal_nops (void)
 

Variables

const unsigned char *constideal_nops
 

Macro Definition Documentation

#define _ASM_MK_NOP (   x)    ".byte " __stringify(x) "\n"

Definition at line 93 of file nops.h.

#define ASM_NOP1   _ASM_MK_NOP(GENERIC_NOP1)

Definition at line 127 of file nops.h.

#define ASM_NOP2   _ASM_MK_NOP(GENERIC_NOP2)

Definition at line 128 of file nops.h.

#define ASM_NOP3   _ASM_MK_NOP(GENERIC_NOP3)

Definition at line 129 of file nops.h.

#define ASM_NOP4   _ASM_MK_NOP(GENERIC_NOP4)

Definition at line 130 of file nops.h.

#define ASM_NOP5   _ASM_MK_NOP(GENERIC_NOP5)

Definition at line 131 of file nops.h.

#define ASM_NOP5_ATOMIC   _ASM_MK_NOP(GENERIC_NOP5_ATOMIC)

Definition at line 135 of file nops.h.

#define ASM_NOP6   _ASM_MK_NOP(GENERIC_NOP6)

Definition at line 132 of file nops.h.

#define ASM_NOP7   _ASM_MK_NOP(GENERIC_NOP7)

Definition at line 133 of file nops.h.

#define ASM_NOP8   _ASM_MK_NOP(GENERIC_NOP8)

Definition at line 134 of file nops.h.

#define ASM_NOP_MAX   8

Definition at line 138 of file nops.h.

#define GENERIC_NOP1   0x90

Definition at line 22 of file nops.h.

#define GENERIC_NOP2   0x89,0xf6

Definition at line 23 of file nops.h.

#define GENERIC_NOP3   0x8d,0x76,0x00

Definition at line 24 of file nops.h.

#define GENERIC_NOP4   0x8d,0x74,0x26,0x00

Definition at line 25 of file nops.h.

#define GENERIC_NOP5   GENERIC_NOP1,GENERIC_NOP4

Definition at line 26 of file nops.h.

#define GENERIC_NOP5_ATOMIC   NOP_DS_PREFIX,GENERIC_NOP4

Definition at line 30 of file nops.h.

#define GENERIC_NOP6   0x8d,0xb6,0x00,0x00,0x00,0x00

Definition at line 27 of file nops.h.

#define GENERIC_NOP7   0x8d,0xb4,0x26,0x00,0x00,0x00,0x00

Definition at line 28 of file nops.h.

#define GENERIC_NOP8   GENERIC_NOP1,GENERIC_NOP7

Definition at line 29 of file nops.h.

#define K7_NOP1   GENERIC_NOP1

Definition at line 57 of file nops.h.

#define K7_NOP2   0x8b,0xc0

Definition at line 58 of file nops.h.

#define K7_NOP3   0x8d,0x04,0x20

Definition at line 59 of file nops.h.

#define K7_NOP4   0x8d,0x44,0x20,0x00

Definition at line 60 of file nops.h.

#define K7_NOP5   K7_NOP4,K7_NOP1

Definition at line 61 of file nops.h.

#define K7_NOP5_ATOMIC   NOP_DS_PREFIX,K7_NOP4

Definition at line 65 of file nops.h.

#define K7_NOP6   0x8d,0x80,0,0,0,0

Definition at line 62 of file nops.h.

#define K7_NOP7   0x8D,0x04,0x05,0,0,0,0

Definition at line 63 of file nops.h.

#define K7_NOP8   K7_NOP7,K7_NOP1

Definition at line 64 of file nops.h.

#define K8_NOP1   GENERIC_NOP1

Definition at line 38 of file nops.h.

#define K8_NOP2   0x66,K8_NOP1

Definition at line 39 of file nops.h.

#define K8_NOP3   0x66,K8_NOP2

Definition at line 40 of file nops.h.

#define K8_NOP4   0x66,K8_NOP3

Definition at line 41 of file nops.h.

#define K8_NOP5   K8_NOP3,K8_NOP2

Definition at line 42 of file nops.h.

#define K8_NOP5_ATOMIC   0x66,K8_NOP4

Definition at line 46 of file nops.h.

#define K8_NOP6   K8_NOP3,K8_NOP3

Definition at line 43 of file nops.h.

#define K8_NOP7   K8_NOP4,K8_NOP3

Definition at line 44 of file nops.h.

#define K8_NOP8   K8_NOP4,K8_NOP4

Definition at line 45 of file nops.h.

#define NOP_ATOMIC5   (ASM_NOP_MAX+1) /* Entry for the 5-byte atomic NOP */

Definition at line 139 of file nops.h.

#define NOP_DS_PREFIX   0x3e

Definition at line 10 of file nops.h.

#define P6_NOP1   GENERIC_NOP1

Definition at line 80 of file nops.h.

#define P6_NOP2   0x66,0x90

Definition at line 81 of file nops.h.

#define P6_NOP3   0x0f,0x1f,0x00

Definition at line 82 of file nops.h.

#define P6_NOP4   0x0f,0x1f,0x40,0

Definition at line 83 of file nops.h.

#define P6_NOP5   0x0f,0x1f,0x44,0x00,0

Definition at line 84 of file nops.h.

#define P6_NOP5_ATOMIC   P6_NOP5

Definition at line 88 of file nops.h.

#define P6_NOP6   0x66,0x0f,0x1f,0x44,0x00,0

Definition at line 85 of file nops.h.

#define P6_NOP7   0x0f,0x1f,0x80,0,0,0,0

Definition at line 86 of file nops.h.

#define P6_NOP8   0x0f,0x1f,0x84,0x00,0,0,0,0

Definition at line 87 of file nops.h.

Function Documentation

void arch_init_ideal_nops ( void  )

Definition at line 189 of file alternative.c.

Variable Documentation

const unsigned char* const* ideal_nops

Definition at line 186 of file alternative.c.