- pre3:
[davej-history.git] / include / asm-arm / ptrace.h
blobae4927937309725e18d47d54b200523dad2098da
1 #ifndef __ASM_ARM_PTRACE_H
2 #define __ASM_ARM_PTRACE_H
4 #include <asm/proc/ptrace.h>
6 #ifndef __ASSEMBLY__
7 #define pc_pointer(v) \
8 ((v) & ~PCMASK)
10 #define instruction_pointer(regs) \
11 (pc_pointer((regs)->ARM_pc))
13 #ifdef __KERNEL__
14 #define PTRACE_GETREGS 12
15 #define PTRACE_SETREGS 13
16 #define PTRACE_GETFPREGS 14
17 #define PTRACE_SETFPREGS 15
19 extern void show_regs(struct pt_regs *);
21 #define predicate(x) (x & 0xf0000000)
22 #define PREDICATE_ALWAYS 0xe0000000
24 #endif
26 #endif /* __ASSEMBLY__ */
28 #endif