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

Go to the source code of this file.

Data Structures

struct  pt_regs
 

Macros

#define PTRACE_GETREGS   12
 
#define PTRACE_SETREGS   13
 
#define SR_H   0x20000000
 
#define SR_J   0x10000000
 
#define SR_DM   0x08000000
 
#define SR_D   0x04000000
 
#define MODE_NMI   0x01c00000
 
#define MODE_EXCEPTION   0x01800000
 
#define MODE_INT3   0x01400000
 
#define MODE_INT2   0x01000000
 
#define MODE_INT1   0x00c00000
 
#define MODE_INT0   0x00800000
 
#define MODE_SUPERVISOR   0x00400000
 
#define MODE_USER   0x00000000
 
#define MODE_MASK   0x01c00000
 
#define SR_EM   0x00200000
 
#define SR_I3M   0x00100000
 
#define SR_I2M   0x00080000
 
#define SR_I1M   0x00040000
 
#define SR_I0M   0x00020000
 
#define SR_GM   0x00010000
 
#define SR_H_BIT   29
 
#define SR_J_BIT   28
 
#define SR_DM_BIT   27
 
#define SR_D_BIT   26
 
#define MODE_SHIFT   22
 
#define SR_EM_BIT   21
 
#define SR_I3M_BIT   20
 
#define SR_I2M_BIT   19
 
#define SR_I1M_BIT   18
 
#define SR_I0M_BIT   17
 
#define SR_GM_BIT   16
 
#define SR_L   0x00000020
 
#define SR_Q   0x00000010
 
#define SR_V   0x00000008
 
#define SR_N   0x00000004
 
#define SR_Z   0x00000002
 
#define SR_C   0x00000001
 
#define SR_L_BIT   5
 
#define SR_Q_BIT   4
 
#define SR_V_BIT   3
 
#define SR_N_BIT   2
 
#define SR_Z_BIT   1
 
#define SR_C_BIT   0
 
#define FRAME_SIZE_FULL   72
 
#define REG_R12_ORIG   68
 
#define REG_R0   64
 
#define REG_R1   60
 
#define REG_R2   56
 
#define REG_R3   52
 
#define REG_R4   48
 
#define REG_R5   44
 
#define REG_R6   40
 
#define REG_R7   36
 
#define REG_R8   32
 
#define REG_R9   28
 
#define REG_R10   24
 
#define REG_R11   20
 
#define REG_R12   16
 
#define REG_SP   12
 
#define REG_LR   8
 
#define FRAME_SIZE_MIN   8
 
#define REG_PC   4
 
#define REG_SR   0
 

Macro Definition Documentation

#define FRAME_SIZE_FULL   72

Definition at line 74 of file ptrace.h.

#define FRAME_SIZE_MIN   8

Definition at line 92 of file ptrace.h.

#define MODE_EXCEPTION   0x01800000

Definition at line 22 of file ptrace.h.

#define MODE_INT0   0x00800000

Definition at line 26 of file ptrace.h.

#define MODE_INT1   0x00c00000

Definition at line 25 of file ptrace.h.

#define MODE_INT2   0x01000000

Definition at line 24 of file ptrace.h.

#define MODE_INT3   0x01400000

Definition at line 23 of file ptrace.h.

#define MODE_MASK   0x01c00000

Definition at line 29 of file ptrace.h.

#define MODE_NMI   0x01c00000

Definition at line 21 of file ptrace.h.

#define MODE_SHIFT   22

Definition at line 41 of file ptrace.h.

#define MODE_SUPERVISOR   0x00400000

Definition at line 27 of file ptrace.h.

#define MODE_USER   0x00000000

Definition at line 28 of file ptrace.h.

#define PTRACE_GETREGS   12

Definition at line 11 of file ptrace.h.

#define PTRACE_SETREGS   13

Definition at line 12 of file ptrace.h.

#define REG_LR   8

Definition at line 90 of file ptrace.h.

#define REG_PC   4

Definition at line 93 of file ptrace.h.

#define REG_R0   64

Definition at line 76 of file ptrace.h.

#define REG_R1   60

Definition at line 77 of file ptrace.h.

#define REG_R10   24

Definition at line 86 of file ptrace.h.

#define REG_R11   20

Definition at line 87 of file ptrace.h.

#define REG_R12   16

Definition at line 88 of file ptrace.h.

#define REG_R12_ORIG   68

Definition at line 75 of file ptrace.h.

#define REG_R2   56

Definition at line 78 of file ptrace.h.

#define REG_R3   52

Definition at line 79 of file ptrace.h.

#define REG_R4   48

Definition at line 80 of file ptrace.h.

#define REG_R5   44

Definition at line 81 of file ptrace.h.

#define REG_R6   40

Definition at line 82 of file ptrace.h.

#define REG_R7   36

Definition at line 83 of file ptrace.h.

#define REG_R8   32

Definition at line 84 of file ptrace.h.

#define REG_R9   28

Definition at line 85 of file ptrace.h.

#define REG_SP   12

Definition at line 89 of file ptrace.h.

#define REG_SR   0

Definition at line 94 of file ptrace.h.

#define SR_C   0x00000001

Definition at line 55 of file ptrace.h.

#define SR_C_BIT   0

Definition at line 62 of file ptrace.h.

#define SR_D   0x04000000

Definition at line 20 of file ptrace.h.

#define SR_D_BIT   26

Definition at line 40 of file ptrace.h.

#define SR_DM   0x08000000

Definition at line 19 of file ptrace.h.

#define SR_DM_BIT   27

Definition at line 39 of file ptrace.h.

#define SR_EM   0x00200000

Definition at line 30 of file ptrace.h.

#define SR_EM_BIT   21

Definition at line 42 of file ptrace.h.

#define SR_GM   0x00010000

Definition at line 35 of file ptrace.h.

#define SR_GM_BIT   16

Definition at line 47 of file ptrace.h.

#define SR_H   0x20000000

Definition at line 17 of file ptrace.h.

#define SR_H_BIT   29

Definition at line 37 of file ptrace.h.

#define SR_I0M   0x00020000

Definition at line 34 of file ptrace.h.

#define SR_I0M_BIT   17

Definition at line 46 of file ptrace.h.

#define SR_I1M   0x00040000

Definition at line 33 of file ptrace.h.

#define SR_I1M_BIT   18

Definition at line 45 of file ptrace.h.

#define SR_I2M   0x00080000

Definition at line 32 of file ptrace.h.

#define SR_I2M_BIT   19

Definition at line 44 of file ptrace.h.

#define SR_I3M   0x00100000

Definition at line 31 of file ptrace.h.

#define SR_I3M_BIT   20

Definition at line 43 of file ptrace.h.

#define SR_J   0x10000000

Definition at line 18 of file ptrace.h.

#define SR_J_BIT   28

Definition at line 38 of file ptrace.h.

#define SR_L   0x00000020

Definition at line 50 of file ptrace.h.

#define SR_L_BIT   5

Definition at line 57 of file ptrace.h.

#define SR_N   0x00000004

Definition at line 53 of file ptrace.h.

#define SR_N_BIT   2

Definition at line 60 of file ptrace.h.

#define SR_Q   0x00000010

Definition at line 51 of file ptrace.h.

#define SR_Q_BIT   4

Definition at line 58 of file ptrace.h.

#define SR_V   0x00000008

Definition at line 52 of file ptrace.h.

#define SR_V_BIT   3

Definition at line 59 of file ptrace.h.

#define SR_Z   0x00000002

Definition at line 54 of file ptrace.h.

#define SR_Z_BIT   1

Definition at line 61 of file ptrace.h.