eaf50e3bd63ea9adf7300cf5bc401c5b0b5df18b
[linux-flexiantxendom0-3.2.10.git] / include / asm-arm / ptrace.h
1 #ifndef __ASM_ARM_PTRACE_H
2 #define __ASM_ARM_PTRACE_H
3
4 #define PTRACE_GETREGS          12
5 #define PTRACE_SETREGS          13
6 #define PTRACE_GETFPREGS        14
7 #define PTRACE_SETFPREGS        15
8
9 #define PTRACE_OLDSETOPTIONS    21
10
11 #include <asm/proc/ptrace.h>
12
13 #ifndef __ASSEMBLY__
14 #define pc_pointer(v) \
15         ((v) & ~PCMASK)
16
17 #define instruction_pointer(regs) \
18         (pc_pointer((regs)->ARM_pc))
19
20 #ifdef __KERNEL__
21 extern void show_regs(struct pt_regs *);
22
23 #define predicate(x)    (x & 0xf0000000)
24 #define PREDICATE_ALWAYS        0xe0000000
25
26 #endif
27
28 #endif /* __ASSEMBLY__ */
29
30 #endif
31