| /* this struct defines the way the registers are stored on the |
| stack during a system call. */ |
| unsigned format : 4; /* frame format specifier */ |
| unsigned vector : 12; /* vector offset */ |
| unsigned format : 4; /* frame format specifier */ |
| unsigned vector : 12; /* vector offset */ |
| * This is the extended stack used by signal handlers and the context |
| * switcher: it's pushed after the normal "struct pt_regs". |
| /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ |
| #define PTRACE_GETREGS 12 |
| #define PTRACE_SETREGS 13 |
| #define PTRACE_GETFPREGS 14 |
| #define PTRACE_SETFPREGS 15 |
| #define PTRACE_GET_THREAD_AREA 25 |
| #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */ |
| #define user_mode(regs) (!((regs)->sr & PS_S)) |
| #define instruction_pointer(regs) ((regs)->pc) |
| #define profile_pc(regs) instruction_pointer(regs) |
| #define arch_has_single_step() (1) |
| #define arch_has_block_step() (1) |
| #endif /* __ASSEMBLY__ */ |
| #endif /* _M68K_PTRACE_H */ |