• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_SETOPTIONS	21
10 
11 /* options set using PTRACE_SETOPTIONS */
12 #define PTRACE_O_TRACESYSGOOD	0x00000001
13 
14 #include <asm/proc-armv/ptrace.h>
15 
16 #ifndef __ASSEMBLY__
17 #define pc_pointer(v) \
18 	((v) & ~PCMASK)
19 
20 #define instruction_pointer(regs) \
21 	(pc_pointer((regs)->ARM_pc))
22 
23 #ifdef __KERNEL__
24 extern void show_regs(struct pt_regs *);
25 
26 #define predicate(x)	(x & 0xf0000000)
27 #define PREDICATE_ALWAYS	0xe0000000
28 
29 #endif
30 
31 #endif /* __ASSEMBLY__ */
32 
33 #endif
34