1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2012 Rabin Vincent <rabin at rab.in>
4  */
5 
6 #ifndef __ARM_KERNEL_UPROBES_H
7 #define __ARM_KERNEL_UPROBES_H
8 
9 enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn,
10 				      struct arch_probes_insn *asi,
11 				      const struct decode_header *d);
12 
13 enum probes_insn decode_ldr(probes_opcode_t insn,
14 			    struct arch_probes_insn *asi,
15 			    const struct decode_header *d);
16 
17 enum probes_insn
18 decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn,
19 			      struct arch_probes_insn *asi,
20 			      const struct decode_header *d);
21 
22 enum probes_insn
23 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi,
24 	     const struct decode_header *d, bool alu);
25 
26 enum probes_insn
27 decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi,
28 	     const struct decode_header *d);
29 
30 extern const union decode_action uprobes_probes_actions[];
31 
32 #endif
33