/usr/src/linux-headers-5.15.0-181/arch/x86/include/uapi/asm
NameSizeModeActions
a.out.h7560644editdlrm
auxvec.h5460644editdlrm
bitsperlong.h3210644editdlrm
boot.h3380644editdlrm
bootparam.h82330644editdlrm
byteorder.h2000644editdlrm
debugreg.h33440644editdlrm
e820.h26200644editdlrm
hwcap2.h3240644editdlrm
hw_breakpoint.h690644editdlrm
ist.h8690644editdlrm
Kbuild1170644editdlrm
kvm.h108580644editdlrm
kvm_para.h43150644editdlrm
kvm_perf.h3880644editdlrm
ldt.h13060644editdlrm
mce.h17450644editdlrm
mman.h10020644editdlrm
msgbuf.h10790644editdlrm
msr.h3610644editdlrm
mtrr.h42400644editdlrm
perf_regs.h14030644editdlrm
posix_types.h2500644editdlrm
posix_types_32.h7650644editdlrm
posix_types_64.h6090644editdlrm
posix_types_x32.h5810644editdlrm
prctl.h5240644editdlrm
processor-flags.h66380644editdlrm
ptrace-abi.h20370644editdlrm
ptrace.h16300644editdlrm
sembuf.h10700644editdlrm
setup.h60644editdlrm
sgx.h59350644editdlrm
shmbuf.h12580644editdlrm
sigcontext.h99500644editdlrm
sigcontext32.h2710644editdlrm
siginfo.h4220644editdlrm
signal.h22000644editdlrm
stat.h31310644editdlrm
statfs.h4160644editdlrm
svm.h89170644editdlrm
swab.h7690644editdlrm
ucontext.h21170644editdlrm
unistd.h6640644editdlrm
vm86.h32010644editdlrm
vmx.h73830644editdlrm
vsyscall.h2780644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/arch/x86/include/uapi/asm/ptrace.h (1630B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_X86_PTRACE_H #define _UAPI_ASM_X86_PTRACE_H #include /* For __user */ #include #include #ifndef __ASSEMBLY__ #ifdef __i386__ /* this struct defines the way the registers are stored on the stack during a system call. */ #ifndef __KERNEL__ struct pt_regs { long ebx; long ecx; long edx; long esi; long edi; long ebp; long eax; int xds; int xes; int xfs; int xgs; long orig_eax; long eip; int xcs; long eflags; long esp; int xss; }; #endif /* __KERNEL__ */ #else /* __i386__ */ #ifndef __KERNEL__ struct pt_regs { /* * C ABI says these regs are callee-preserved. They aren't saved on kernel entry * unless syscall needs a complete, fully filled "struct pt_regs". */ unsigned long r15; unsigned long r14; unsigned long r13; unsigned long r12; unsigned long rbp; unsigned long rbx; /* These regs are callee-clobbered. Always saved on kernel entry. */ unsigned long r11; unsigned long r10; unsigned long r9; unsigned long r8; unsigned long rax; unsigned long rcx; unsigned long rdx; unsigned long rsi; unsigned long rdi; /* * On syscall entry, this is syscall#. On CPU exception, this is error code. * On hw interrupt, it's IRQ number: */ unsigned long orig_rax; /* Return frame for iretq */ unsigned long rip; unsigned long cs; unsigned long eflags; unsigned long rsp; unsigned long ss; /* top of stack page */ }; #endif /* __KERNEL__ */ #endif /* !__i386__ */ #endif /* !__ASSEMBLY__ */ #endif /* _UAPI_ASM_X86_PTRACE_H */