1 #ifndef _UAPI__ASM_SH_PTRACE_32_H
2 #define _UAPI__ASM_SH_PTRACE_32_H
5 * GCC defines register number like this:
6 * -----------------------------
7 * 0 - 15 are integer registers
8 * 17 - 22 are control/special registers
10 * 40 - 47 xd registers
12 * -----------------------------
14 * We follows above, except:
15 * 16 --- program counter (PC)
17 * 23 --- floating point communication register
30 #define REG_SYSCALL 22
33 #define REG_FPREG15 38
35 #define REG_XFREG15 54
41 * This struct defines the way the registers are stored on the
42 * kernel stack during a system call or other kernel entry.
45 unsigned long regs
[16];
56 * This struct defines the way the DSP registers are stored on the
57 * kernel stack during a system call or other kernel entry.
77 #endif /* _UAPI__ASM_SH_PTRACE_32_H */