Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm64 / kernel / probes / simulate-insn.h
blobefb2803ec943d6e3443e2b311edbed10c4acecf0
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * arch/arm64/kernel/probes/simulate-insn.h
5 * Copyright (C) 2013 Linaro Limited
6 */
8 #ifndef _ARM_KERNEL_KPROBES_SIMULATE_INSN_H
9 #define _ARM_KERNEL_KPROBES_SIMULATE_INSN_H
11 void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs);
12 void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs);
13 void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs);
14 void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs);
15 void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs);
16 void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs);
17 void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs);
18 void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs);
19 void simulate_nop(u32 opcode, long addr, struct pt_regs *regs);
21 #endif /* _ARM_KERNEL_KPROBES_SIMULATE_INSN_H */