26 /* this struct defines the way the registers are stored on the
27 stack during a system call. */
43 unsigned format
: 4; /* frame format specifier */
44 unsigned vector
: 12; /* vector offset */
48 * This is the extended stack used by signal handlers and the context
49 * switcher: it's pushed after the normal "struct pt_regs".
61 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
62 #define PTRACE_GETREGS 12
63 #define PTRACE_SETREGS 13
64 #define PTRACE_GETFPREGS 14
65 #define PTRACE_SETFPREGS 15
74 #define user_mode(regs) (!((regs)->sr & PS_S))
75 #define instruction_pointer(regs) ((regs)->pc)
76 #define profile_pc(regs) instruction_pointer(regs)
77 extern void show_regs(struct pt_regs
*);
78 #endif /* __KERNEL__ */
79 #endif /* __ASSEMBLY__ */
80 #endif /* _M68K_PTRACE_H */