26 /* this struct defines the way the registers are stored on the
27 stack during a system call. */
41 #ifdef CONFIG_COLDFIRE
42 unsigned format : 4; /* frame format specifier */
43 unsigned vector : 12; /* vector offset */
50 unsigned format : 4; /* frame format specifier */
51 unsigned vector : 12; /* vector offset */
57 * This is the extended stack used by signal handlers and the context
58 * switcher: it's pushed after the normal "struct pt_regs".
70 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
71 #define PTRACE_GETREGS 12
72 #define PTRACE_SETREGS 13
74 #define PTRACE_GETFPREGS 14
75 #define PTRACE_SETFPREGS 15
85 #define user_mode(regs) (!((regs)->sr & PS_S))
86 #define instruction_pointer(regs) ((regs)->pc)
87 #define profile_pc(regs) instruction_pointer(regs)
88 extern void show_regs(struct pt_regs *);
89 #endif /* __KERNEL__ */
90 #endif /* __ASSEMBLY__ */
91 #endif /* _M68K_PTRACE_H */