Linux Kernel
3.7.1
|
#include <asm/irq_regs.h>
#include <uapi/asm/ptrace.h>
Go to the source code of this file.
Macros | |
#define | in_syscall(regs) (((regs)->tbr & TBR_TT) == TBR_TT_TRAP0) |
#define | user_mode(regs) (!((regs)->psr & PSR_S)) |
#define | instruction_pointer(regs) ((regs)->pc) |
#define | user_stack_pointer(regs) ((regs)->sp) |
#define | current_pt_regs() (__frame) |
#define | profile_pc(regs) ((regs)->pc) |
#define | task_pt_regs(task) ((task)->thread.frame0) |
#define | arch_has_single_step() (1) |
Functions | |
register struct pt_regs *__frame | asm ("gr28") |
unsigned long | user_stack (const struct pt_regs *) |
#define in_syscall | ( | regs | ) | (((regs)->tbr & TBR_TT) == TBR_TT_TRAP0) |
#define task_pt_regs | ( | task | ) | ((task)->thread.frame0) |