1
2 #ifndef _ASM_UPROBES_H
3 #define _ASM_UPROBES_H
4
5
6
7
8
9
10
11
12 #include <linux/notifier.h>
13 #include <asm/probes.h>
14
15 typedef ppc_opcode_t uprobe_opcode_t;
16
17 #define MAX_UINSN_BYTES 4
18 #define UPROBE_XOL_SLOT_BYTES (MAX_UINSN_BYTES)
19
20
21 #define UPROBE_SWBP_INSN BREAKPOINT_INSTRUCTION
22 #define UPROBE_SWBP_INSN_SIZE 4
23
24 struct arch_uprobe {
25 union {
26 u32 insn;
27 u32 ixol;
28 };
29 };
30
31 struct arch_uprobe_task {
32 unsigned long saved_trap_nr;
33 };
34
35 #endif