xref: /openbmc/linux/arch/arm/probes/uprobes/core.h (revision e3b9f1e8)
1 /*
2  * Copyright (C) 2012 Rabin Vincent <rabin at rab.in>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 #ifndef __ARM_KERNEL_UPROBES_H
10 #define __ARM_KERNEL_UPROBES_H
11 
12 enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn,
13 				      struct arch_probes_insn *asi,
14 				      const struct decode_header *d);
15 
16 enum probes_insn decode_ldr(probes_opcode_t insn,
17 			    struct arch_probes_insn *asi,
18 			    const struct decode_header *d);
19 
20 enum probes_insn
21 decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn,
22 			      struct arch_probes_insn *asi,
23 			      const struct decode_header *d);
24 
25 enum probes_insn
26 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi,
27 	     const struct decode_header *d, bool alu);
28 
29 enum probes_insn
30 decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi,
31 	     const struct decode_header *d);
32 
33 extern const union decode_action uprobes_probes_actions[];
34 
35 #endif
36