0001
0002
0003 #ifndef __ASM_CSKY_PROBES_H
0004 #define __ASM_CSKY_PROBES_H
0005
0006 typedef u32 probe_opcode_t;
0007 typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *);
0008
0009
0010 struct arch_probe_insn {
0011 probe_opcode_t *insn;
0012 probes_handler_t *handler;
0013
0014 unsigned long restore;
0015 };
0016
0017 #ifdef CONFIG_KPROBES
0018 typedef u32 kprobe_opcode_t;
0019 struct arch_specific_insn {
0020 struct arch_probe_insn api;
0021 };
0022 #endif
0023
0024 #endif