]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/x86/include/uapi/asm/ptrace-abi.h
1 #ifndef _ASM_X86_PTRACE_ABI_H
2 #define _ASM_X86_PTRACE_ABI_H
27 #if defined(__ASSEMBLY__) || defined(__FRAME_OFFSETS)
34 /* arguments: interrupts/non tracing syscalls only save up to here*/
44 #define ORIG_RAX 120 /* = ERROR */
45 /* end of arguments */
46 /* cpu exception frame or undefined in case of fast syscall. */
52 #endif /* __ASSEMBLY__ */
54 /* top of stack page */
55 #define FRAME_SIZE 168
57 #endif /* !__i386__ */
59 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
60 #define PTRACE_GETREGS 12
61 #define PTRACE_SETREGS 13
62 #define PTRACE_GETFPREGS 14
63 #define PTRACE_SETFPREGS 15
64 #define PTRACE_GETFPXREGS 18
65 #define PTRACE_SETFPXREGS 19
67 #define PTRACE_OLDSETOPTIONS 21
69 /* only useful for access 32bit programs / kernels */
70 #define PTRACE_GET_THREAD_AREA 25
71 #define PTRACE_SET_THREAD_AREA 26
74 # define PTRACE_ARCH_PRCTL 30
77 #define PTRACE_SYSEMU 31
78 #define PTRACE_SYSEMU_SINGLESTEP 32
80 #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
83 #include <linux/types.h>
86 #endif /* _ASM_X86_PTRACE_ABI_H */