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 */
49 unsigned format : 4; /* frame format specifier */
50 unsigned vector : 12; /* vector offset */
55 * This is the extended stack used by signal handlers and the context
56 * switcher: it's pushed after the normal "struct pt_regs".
68 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
69 #define PTRACE_GETREGS 12
70 #define PTRACE_SETREGS 13
71 #define PTRACE_GETFPREGS 14
72 #define PTRACE_SETFPREGS 15
81 #define user_mode(regs) (!((regs)->sr & PS_S))
82 #define instruction_pointer(regs) ((regs)->pc)
83 #define profile_pc(regs) instruction_pointer(regs)
84 extern void show_regs(struct pt_regs *);
85 #endif /* __KERNEL__ */
86 #endif /* __ASSEMBLY__ */
87 #endif /* _M68K_PTRACE_H */