0001
0002
0003
0004
0005
0006
0007 #ifndef _ARM_PROBES_H
0008 #define _ARM_PROBES_H
0009
0010 #include <asm/insn.h>
0011
0012 typedef u32 probe_opcode_t;
0013 typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *);
0014
0015
0016 struct arch_probe_insn {
0017 probe_opcode_t *insn;
0018 pstate_check_t *pstate_cc;
0019 probes_handler_t *handler;
0020
0021 unsigned long restore;
0022 };
0023 #ifdef CONFIG_KPROBES
0024 typedef u32 kprobe_opcode_t;
0025 struct arch_specific_insn {
0026 struct arch_probe_insn api;
0027 };
0028 #endif
0029
0030 #endif