| /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| #ifndef _UAPI_ASMAXP_PTRACE_H |
| #define _UAPI_ASMAXP_PTRACE_H |
| * This struct defines the way the registers are stored on the |
| * kernel stack during a system call or other kernel entry |
| * NOTE! I want to minimize the overhead of system calls, so this |
| * struct has as little information as possible. It does not have |
| * - floating point regs: the kernel doesn't change those |
| * - r9-15: saved by the C compiler |
| * This makes "fork()" and "exec()" a bit more complex, but should |
| * give us low system call latency. |
| /* JRP - These are the values provided to a0-a2 by PALcode */ |
| /* These are saved by PAL-code: */ |
| * This is the extended stack used by signal handlers and the context |
| * switcher: it's pushed after the normal "struct pt_regs". |
| unsigned long fp[32]; /* fp[31] is fpcr */ |
| #endif /* _UAPI_ASMAXP_PTRACE_H */ |