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

Go to the source code of this file.

Macros

#define KERNEL_STACK_SIZE   (2 * PAGE_SIZE)
 
#define EXC_TABLE_KSTK   0x004 /* Kernel Stack */
 
#define EXC_TABLE_DOUBLE_SAVE   0x008 /* Double exception save area for a0 */
 
#define EXC_TABLE_FIXUP   0x00c /* Fixup handler */
 
#define EXC_TABLE_PARAM   0x010 /* For passing a parameter to fixup */
 
#define EXC_TABLE_SYSCALL_SAVE   0x014 /* For fast syscall handler */
 
#define EXC_TABLE_FAST_USER   0x100 /* Fast user exception handler */
 
#define EXC_TABLE_FAST_KERNEL   0x200 /* Fast kernel exception handler */
 
#define EXC_TABLE_DEFAULT   0x300 /* Default C-Handler */
 
#define EXC_TABLE_SIZE   0x400
 
#define REG_A_BASE   0x0000
 
#define REG_AR_BASE   0x0100
 
#define REG_PC   0x0020
 
#define REG_PS   0x02e6
 
#define REG_WB   0x0248
 
#define REG_WS   0x0249
 
#define REG_LBEG   0x0200
 
#define REG_LEND   0x0201
 
#define REG_LCOUNT   0x0202
 
#define REG_SAR   0x0203
 
#define SYSCALL_NR   0x00ff
 
#define PTRACE_GETREGS   12
 
#define PTRACE_SETREGS   13
 
#define PTRACE_GETXTREGS   18
 
#define PTRACE_SETXTREGS   19
 

Macro Definition Documentation

#define EXC_TABLE_DEFAULT   0x300 /* Default C-Handler */

Definition at line 51 of file ptrace.h.

#define EXC_TABLE_DOUBLE_SAVE   0x008 /* Double exception save area for a0 */

Definition at line 45 of file ptrace.h.

#define EXC_TABLE_FAST_KERNEL   0x200 /* Fast kernel exception handler */

Definition at line 50 of file ptrace.h.

#define EXC_TABLE_FAST_USER   0x100 /* Fast user exception handler */

Definition at line 49 of file ptrace.h.

#define EXC_TABLE_FIXUP   0x00c /* Fixup handler */

Definition at line 46 of file ptrace.h.

#define EXC_TABLE_KSTK   0x004 /* Kernel Stack */

Definition at line 44 of file ptrace.h.

#define EXC_TABLE_PARAM   0x010 /* For passing a parameter to fixup */

Definition at line 47 of file ptrace.h.

#define EXC_TABLE_SIZE   0x400

Definition at line 52 of file ptrace.h.

#define EXC_TABLE_SYSCALL_SAVE   0x014 /* For fast syscall handler */

Definition at line 48 of file ptrace.h.

#define KERNEL_STACK_SIZE   (2 * PAGE_SIZE)

Definition at line 40 of file ptrace.h.

#define PTRACE_GETREGS   12

Definition at line 71 of file ptrace.h.

#define PTRACE_GETXTREGS   18

Definition at line 73 of file ptrace.h.

#define PTRACE_SETREGS   13

Definition at line 72 of file ptrace.h.

#define PTRACE_SETXTREGS   19

Definition at line 74 of file ptrace.h.

#define REG_A_BASE   0x0000

Definition at line 56 of file ptrace.h.

#define REG_AR_BASE   0x0100

Definition at line 57 of file ptrace.h.

#define REG_LBEG   0x0200

Definition at line 62 of file ptrace.h.

#define REG_LCOUNT   0x0202

Definition at line 64 of file ptrace.h.

#define REG_LEND   0x0201

Definition at line 63 of file ptrace.h.

#define REG_PC   0x0020

Definition at line 58 of file ptrace.h.

#define REG_PS   0x02e6

Definition at line 59 of file ptrace.h.

#define REG_SAR   0x0203

Definition at line 65 of file ptrace.h.

#define REG_WB   0x0248

Definition at line 60 of file ptrace.h.

#define REG_WS   0x0249

Definition at line 61 of file ptrace.h.

#define SYSCALL_NR   0x00ff

Definition at line 67 of file ptrace.h.