1 #ifndef _ASM_X86_PTRACE_H
2 #define _ASM_X86_PTRACE_H
5 #include <asm/ptrace-abi.h>
6 #include <asm/processor-flags.h>
12 /* this struct defines the way the registers are stored on the
13 stack during a system call. */
42 * C ABI says these regs are callee-preserved. They aren't saved on kernel entry
43 * unless syscall needs a complete, fully filled "struct pt_regs".
51 /* These regs are callee-clobbered. Always saved on kernel entry. */
62 * On syscall entry, this is syscall#. On CPU exception, this is error code.
63 * On hw interrupt, it's IRQ number:
65 unsigned long orig_rax;
66 /* Return frame for iretq */
72 /* top of stack page */
75 #endif /* !__i386__ */
79 #endif /* !__ASSEMBLY__ */
81 #endif /* _ASM_X86_PTRACE_H */