Go to the documentation of this file.
14 #include <asm/irq_regs.h>
15 #include <uapi/asm/ptrace.h>
17 #define in_syscall(regs) (((regs)->tbr & TBR_TT) == TBR_TT_TRAP0)
26 register struct pt_regs *__frame
asm(
"gr28");
28 #define user_mode(regs) (!((regs)->psr & PSR_S))
29 #define instruction_pointer(regs) ((regs)->pc)
30 #define user_stack_pointer(regs) ((regs)->sp)
31 #define current_pt_regs() (__frame)
34 #define profile_pc(regs) ((regs)->pc)
36 #define task_pt_regs(task) ((task)->thread.frame0)
38 #define arch_has_single_step() (1)