0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _ASM_UPROBES_H
0010 #define _ASM_UPROBES_H
0011
0012 #include <linux/notifier.h>
0013
0014 typedef u16 uprobe_opcode_t;
0015
0016 #define UPROBE_XOL_SLOT_BYTES 256
0017
0018 #define UPROBE_SWBP_INSN 0x0002
0019 #define UPROBE_SWBP_INSN_SIZE 2
0020
0021 struct arch_uprobe {
0022 union{
0023 uprobe_opcode_t insn[3];
0024 uprobe_opcode_t ixol[3];
0025 };
0026 unsigned int saved_per : 1;
0027 unsigned int saved_int_code;
0028 };
0029
0030 struct arch_uprobe_task {
0031 };
0032
0033 #endif