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

Go to the source code of this file.

Macros

#define MAX_FP_NR   HOST_FP_SIZE
 
#define REGS_R8(r)   ((r)[HOST_R8])
 
#define REGS_R9(r)   ((r)[HOST_R9])
 
#define REGS_R10(r)   ((r)[HOST_R10])
 
#define REGS_R11(r)   ((r)[HOST_R11])
 
#define REGS_R12(r)   ((r)[HOST_R12])
 
#define REGS_R13(r)   ((r)[HOST_R13])
 
#define REGS_R14(r)   ((r)[HOST_R14])
 
#define REGS_R15(r)   ((r)[HOST_R15])
 
#define HOST_FS_BASE   21
 
#define HOST_GS_BASE   22
 
#define HOST_DS   23
 
#define HOST_ES   24
 
#define HOST_FS   25
 
#define HOST_GS   26
 
#define FS_BASE   (HOST_FS_BASE * sizeof(long))
 
#define GS_BASE   (HOST_GS_BASE * sizeof(long))
 
#define DS   (HOST_DS * sizeof(long))
 
#define ES   (HOST_ES * sizeof(long))
 
#define FS   (HOST_FS * sizeof(long))
 
#define GS   (HOST_GS * sizeof(long))
 
#define UPT_R8(r)   REGS_R8((r)->gp)
 
#define UPT_R9(r)   REGS_R9((r)->gp)
 
#define UPT_R10(r)   REGS_R10((r)->gp)
 
#define UPT_R11(r)   REGS_R11((r)->gp)
 
#define UPT_R12(r)   REGS_R12((r)->gp)
 
#define UPT_R13(r)   REGS_R13((r)->gp)
 
#define UPT_R14(r)   REGS_R14((r)->gp)
 
#define UPT_R15(r)   REGS_R15((r)->gp)
 
#define UPT_SYSCALL_ARG1(r)   UPT_DI(r)
 
#define UPT_SYSCALL_ARG2(r)   UPT_SI(r)
 
#define UPT_SYSCALL_ARG3(r)   UPT_DX(r)
 
#define UPT_SYSCALL_ARG4(r)   UPT_R10(r)
 
#define UPT_SYSCALL_ARG5(r)   UPT_R8(r)
 
#define UPT_SYSCALL_ARG6(r)   UPT_R9(r)
 

Macro Definition Documentation

#define DS   (HOST_DS * sizeof(long))

Definition at line 38 of file ptrace_64.h.

#define ES   (HOST_ES * sizeof(long))

Definition at line 39 of file ptrace_64.h.

#define FS   (HOST_FS * sizeof(long))

Definition at line 40 of file ptrace_64.h.

#define FS_BASE   (HOST_FS_BASE * sizeof(long))

Definition at line 36 of file ptrace_64.h.

#define GS   (HOST_GS * sizeof(long))

Definition at line 41 of file ptrace_64.h.

#define GS_BASE   (HOST_GS_BASE * sizeof(long))

Definition at line 37 of file ptrace_64.h.

#define HOST_DS   23

Definition at line 24 of file ptrace_64.h.

#define HOST_ES   24

Definition at line 25 of file ptrace_64.h.

#define HOST_FS   25

Definition at line 26 of file ptrace_64.h.

#define HOST_FS_BASE   21

Definition at line 22 of file ptrace_64.h.

#define HOST_GS   26

Definition at line 27 of file ptrace_64.h.

#define HOST_GS_BASE   22

Definition at line 23 of file ptrace_64.h.

#define MAX_FP_NR   HOST_FP_SIZE

Definition at line 11 of file ptrace_64.h.

#define REGS_R10 (   r)    ((r)[HOST_R10])

Definition at line 15 of file ptrace_64.h.

#define REGS_R11 (   r)    ((r)[HOST_R11])

Definition at line 16 of file ptrace_64.h.

#define REGS_R12 (   r)    ((r)[HOST_R12])

Definition at line 17 of file ptrace_64.h.

#define REGS_R13 (   r)    ((r)[HOST_R13])

Definition at line 18 of file ptrace_64.h.

#define REGS_R14 (   r)    ((r)[HOST_R14])

Definition at line 19 of file ptrace_64.h.

#define REGS_R15 (   r)    ((r)[HOST_R15])

Definition at line 20 of file ptrace_64.h.

#define REGS_R8 (   r)    ((r)[HOST_R8])

Definition at line 13 of file ptrace_64.h.

#define REGS_R9 (   r)    ((r)[HOST_R9])

Definition at line 14 of file ptrace_64.h.

#define UPT_R10 (   r)    REGS_R10((r)->gp)

Definition at line 46 of file ptrace_64.h.

#define UPT_R11 (   r)    REGS_R11((r)->gp)

Definition at line 47 of file ptrace_64.h.

#define UPT_R12 (   r)    REGS_R12((r)->gp)

Definition at line 48 of file ptrace_64.h.

#define UPT_R13 (   r)    REGS_R13((r)->gp)

Definition at line 49 of file ptrace_64.h.

#define UPT_R14 (   r)    REGS_R14((r)->gp)

Definition at line 50 of file ptrace_64.h.

#define UPT_R15 (   r)    REGS_R15((r)->gp)

Definition at line 51 of file ptrace_64.h.

#define UPT_R8 (   r)    REGS_R8((r)->gp)

Definition at line 44 of file ptrace_64.h.

#define UPT_R9 (   r)    REGS_R9((r)->gp)

Definition at line 45 of file ptrace_64.h.

#define UPT_SYSCALL_ARG1 (   r)    UPT_DI(r)

Definition at line 53 of file ptrace_64.h.

#define UPT_SYSCALL_ARG2 (   r)    UPT_SI(r)

Definition at line 54 of file ptrace_64.h.

#define UPT_SYSCALL_ARG3 (   r)    UPT_DX(r)

Definition at line 55 of file ptrace_64.h.

#define UPT_SYSCALL_ARG4 (   r)    UPT_R10(r)

Definition at line 56 of file ptrace_64.h.

#define UPT_SYSCALL_ARG5 (   r)    UPT_R8(r)

Definition at line 57 of file ptrace_64.h.

#define UPT_SYSCALL_ARG6 (   r)    UPT_R9(r)

Definition at line 58 of file ptrace_64.h.