Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
reloc_table.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define ROP_N   0 /* does not access image */
 
#define ROP_R   1 /* read from image */
 
#define ROP_W   2 /* write to image */
 
#define ROP_RW   3 /* read from and write to image */
 
#define ROP_ANY   0 /* no overflow ever, just truncate the value */
 
#define ROP_SGN   1 /* signed field */
 
#define ROP_UNS   2 /* unsigned field */
 
#define ROP_MAX   3 /* allow maximum range of either signed or unsigned */
 
#define ROP_IGN   0 /* no symbol is referenced */
 
#define ROP_LIT   0 /* use rp->UVAL literal field */
 
#define ROP_SYM   1 /* symbol value is used in relocation */
 
#define ROP_SYMD   2 /* delta value vs last link is used */
 
#define RSTK_N   0 /* Does not use */
 
#define RSTK_POP   1 /* Does a POP */
 
#define RSTK_UOP   2 /* Unary op, stack position unaffected */
 
#define RSTK_PSH   3 /* Does a push */
 
#define RFV_POSN(aaa)   ((aaa) & 0xF)
 
#define RFV_WIDTH(aaa)   (((aaa) >> 4) & 0x3F)
 
#define RFV_ACTION(aaa)   ((aaa) >> 10)
 
#define RFV_SIGN(iii)   (((iii) >> 2) & 0x3)
 
#define RFV_SYM(iii)   (((iii) >> 4) & 0x3)
 
#define RFV_STK(iii)   (((iii) >> 6) & 0x3)
 
#define RFV_ACCS(iii)   ((iii) & 0x3)
 
#define RFV_BIGOFF(iii)   ((iii) >> 8)
 

Enumerations

enum  dload_actions {
  RACT_VAL, RACT_ASGN, RACT_ADD, RACT_PCR,
  RACT_ADDISP, RACT_ASGPC, RACT_PLUS, RACT_SUB,
  RACT_NEG, RACT_MPY, RACT_DIV, RACT_MOD,
  RACT_SR, RACT_ASR, RACT_SL, RACT_AND,
  RACT_OR, RACT_XOR, RACT_NOT, RACT_C6SECT,
  RACT_C6BASE, RACT_C6DSPL, RACT_PCR23T
}
 

Macro Definition Documentation

#define RFV_ACCS (   iii)    ((iii) & 0x3)

Definition at line 93 of file reloc_table.h.

#define RFV_ACTION (   aaa)    ((aaa) >> 10)

Definition at line 88 of file reloc_table.h.

#define RFV_BIGOFF (   iii)    ((iii) >> 8)

Definition at line 99 of file reloc_table.h.

#define RFV_POSN (   aaa)    ((aaa) & 0xF)

Definition at line 86 of file reloc_table.h.

#define RFV_SIGN (   iii)    (((iii) >> 2) & 0x3)

Definition at line 90 of file reloc_table.h.

#define RFV_STK (   iii)    (((iii) >> 6) & 0x3)

Definition at line 92 of file reloc_table.h.

#define RFV_SYM (   iii)    (((iii) >> 4) & 0x3)

Definition at line 91 of file reloc_table.h.

#define RFV_WIDTH (   aaa)    (((aaa) >> 4) & 0x3F)

Definition at line 87 of file reloc_table.h.

#define ROP_ANY   0 /* no overflow ever, just truncate the value */

Definition at line 32 of file reloc_table.h.

#define ROP_IGN   0 /* no symbol is referenced */

Definition at line 38 of file reloc_table.h.

#define ROP_LIT   0 /* use rp->UVAL literal field */

Definition at line 39 of file reloc_table.h.

#define ROP_MAX   3 /* allow maximum range of either signed or unsigned */

Definition at line 35 of file reloc_table.h.

#define ROP_N   0 /* does not access image */

Definition at line 25 of file reloc_table.h.

#define ROP_R   1 /* read from image */

Definition at line 26 of file reloc_table.h.

#define ROP_RW   3 /* read from and write to image */

Definition at line 28 of file reloc_table.h.

#define ROP_SGN   1 /* signed field */

Definition at line 33 of file reloc_table.h.

#define ROP_SYM   1 /* symbol value is used in relocation */

Definition at line 40 of file reloc_table.h.

#define ROP_SYMD   2 /* delta value vs last link is used */

Definition at line 41 of file reloc_table.h.

#define ROP_UNS   2 /* unsigned field */

Definition at line 34 of file reloc_table.h.

#define ROP_W   2 /* write to image */

Definition at line 27 of file reloc_table.h.

#define RSTK_N   0 /* Does not use */

Definition at line 44 of file reloc_table.h.

#define RSTK_POP   1 /* Does a POP */

Definition at line 45 of file reloc_table.h.

#define RSTK_PSH   3 /* Does a push */

Definition at line 47 of file reloc_table.h.

#define RSTK_UOP   2 /* Unary op, stack position unaffected */

Definition at line 46 of file reloc_table.h.

Enumeration Type Documentation

Enumerator:
RACT_VAL 
RACT_ASGN 
RACT_ADD 
RACT_PCR 
RACT_ADDISP 
RACT_ASGPC 
RACT_PLUS 
RACT_SUB 
RACT_NEG 
RACT_MPY 
RACT_DIV 
RACT_MOD 
RACT_SR 
RACT_ASR 
RACT_SL 
RACT_AND 
RACT_OR 
RACT_XOR 
RACT_NOT 
RACT_C6SECT 
RACT_C6BASE 
RACT_C6DSPL 
RACT_PCR23T 

Definition at line 52 of file reloc_table.h.