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
72 #define PTRACE_GETFPREGS 14
73 #define PTRACE_SETFPREGS 15
83 #define user_mode(regs) (!((regs)->sr & PS_S))
84 #define instruction_pointer(regs) ((regs)->pc)
85 #define profile_pc(regs) instruction_pointer(regs)
86 extern void show_regs(struct pt_regs
*);
87 #endif /* __KERNEL__ */
88 #endif /* __ASSEMBLY__ */
89 #endif /* _M68K_PTRACE_H */