2 * arch/arm/kernel/probes-arm.h
4 * Copyright 2013 Linaro Ltd.
5 * Written by: David A. Long
7 * The code contained herein is licensed under the GNU General Public
8 * License. You may obtain a copy of the GNU General Public License
9 * Version 2 or later at the following locations:
11 * http://www.opensource.org/licenses/gpl-license.html
12 * http://www.gnu.org/copyleft/gpl.html
15 #ifndef _ARM_KERNEL_PROBES_ARM_H
16 #define _ARM_KERNEL_PROBES_ARM_H
18 enum probes_arm_action {
27 PROBES_SATURATING_ARITHMETIC,
37 PROBES_DATA_PROCESSING_REG,
38 PROBES_DATA_PROCESSING_IMM,
53 NUM_PROBES_ARM_ACTIONS
56 void __kprobes simulate_bbl(probes_opcode_t opcode,
57 struct arch_specific_insn *asi, struct pt_regs *regs);
58 void __kprobes simulate_blx1(probes_opcode_t opcode,
59 struct arch_specific_insn *asi, struct pt_regs *regs);
60 void __kprobes simulate_blx2bx(probes_opcode_t opcode,
61 struct arch_specific_insn *asi, struct pt_regs *regs);
62 void __kprobes simulate_mrs(probes_opcode_t opcode,
63 struct arch_specific_insn *asi, struct pt_regs *regs);
64 void __kprobes simulate_mov_ipsp(probes_opcode_t opcode,
65 struct arch_specific_insn *asi, struct pt_regs *regs);