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 PC   32
 
#define CONDITION   33
 
#define ECR   34
 
#define EMA   35
 
#define CEH   36
 
#define CEL   37
 
#define COUNTER   38
 
#define LDCR   39
 
#define STCR   40
 
#define PSR   41
 
#define SINGLESTEP16_INSN   0x7006
 
#define SINGLESTEP32_INSN   0x840C8000
 
#define BREAKPOINT16_INSN   0x7002 /* work on SPG300 */
 
#define BREAKPOINT32_INSN   0x84048000 /* work on SPG300 */
 
#define INSN32_MASK   0x80008000
 
#define J32   0x88008000 /* 1_00010_0000000000_1_000000000000000 */
 
#define J32M   0xFC008000 /* 1_11111_0000000000_1_000000000000000 */
 
#define B32   0x90008000 /* 1_00100_0000000000_1_000000000000000 */
 
#define B32M   0xFC008000
 
#define BL32   0x90008001 /* 1_00100_0000000000_1_000000000000001 */
 
#define BL32M   B32
 
#define BR32   0x80008008 /* 1_00000_0000000000_1_00000000_000100_0 */
 
#define BR32M   0xFFE0807E
 
#define BRL32   0x80008009 /* 1_00000_0000000000_1_00000000_000100_1 */
 
#define BRL32M   BR32M
 
#define B32_SET   (J32 | B32 | BL32 | BR32 | BRL32)
 
#define J16   0x3000 /* 0_011_....... */
 
#define J16M   0xF000
 
#define B16   0x4000 /* 0_100_....... */
 
#define B16M   0xF000
 
#define BR16   0x0004 /* 0_000.......0100 */
 
#define BR16M   0xF00F
 
#define B16_SET   (J16 | B16 | BR16)
 

Macro Definition Documentation

#define B16   0x4000 /* 0_100_....... */

Definition at line 42 of file ptrace.h.

#define B16_SET   (J16 | B16 | BR16)

Definition at line 46 of file ptrace.h.

#define B16M   0xF000

Definition at line 43 of file ptrace.h.

#define B32   0x90008000 /* 1_00100_0000000000_1_000000000000000 */

Definition at line 29 of file ptrace.h.

#define B32_SET   (J32 | B32 | BL32 | BR32 | BRL32)

Definition at line 38 of file ptrace.h.

#define B32M   0xFC008000

Definition at line 30 of file ptrace.h.

#define BL32   0x90008001 /* 1_00100_0000000000_1_000000000000001 */

Definition at line 31 of file ptrace.h.

#define BL32M   B32

Definition at line 32 of file ptrace.h.

#define BR16   0x0004 /* 0_000.......0100 */

Definition at line 44 of file ptrace.h.

#define BR16M   0xF00F

Definition at line 45 of file ptrace.h.

#define BR32   0x80008008 /* 1_00000_0000000000_1_00000000_000100_0 */

Definition at line 33 of file ptrace.h.

#define BR32M   0xFFE0807E

Definition at line 34 of file ptrace.h.

#define BREAKPOINT16_INSN   0x7002 /* work on SPG300 */

Definition at line 20 of file ptrace.h.

#define BREAKPOINT32_INSN   0x84048000 /* work on SPG300 */

Definition at line 21 of file ptrace.h.

#define BRL32   0x80008009 /* 1_00000_0000000000_1_00000000_000100_1 */

Definition at line 35 of file ptrace.h.

#define BRL32M   BR32M

Definition at line 36 of file ptrace.h.

#define CEH   36

Definition at line 11 of file ptrace.h.

#define CEL   37

Definition at line 12 of file ptrace.h.

#define CONDITION   33

Definition at line 8 of file ptrace.h.

#define COUNTER   38

Definition at line 13 of file ptrace.h.

#define ECR   34

Definition at line 9 of file ptrace.h.

#define EMA   35

Definition at line 10 of file ptrace.h.

#define INSN32_MASK   0x80008000

Definition at line 24 of file ptrace.h.

#define J16   0x3000 /* 0_011_....... */

Definition at line 40 of file ptrace.h.

#define J16M   0xF000

Definition at line 41 of file ptrace.h.

#define J32   0x88008000 /* 1_00010_0000000000_1_000000000000000 */

Definition at line 26 of file ptrace.h.

#define J32M   0xFC008000 /* 1_11111_0000000000_1_000000000000000 */

Definition at line 27 of file ptrace.h.

#define LDCR   39

Definition at line 14 of file ptrace.h.

#define PC   32

Definition at line 7 of file ptrace.h.

#define PSR   41

Definition at line 16 of file ptrace.h.

#define PTRACE_GETREGS   12

Definition at line 4 of file ptrace.h.

#define PTRACE_SETREGS   13

Definition at line 5 of file ptrace.h.

#define SINGLESTEP16_INSN   0x7006

Definition at line 18 of file ptrace.h.

#define SINGLESTEP32_INSN   0x840C8000

Definition at line 19 of file ptrace.h.

#define STCR   40

Definition at line 15 of file ptrace.h.