simulate-insn.h (831B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * arch/arm64/kernel/probes/simulate-insn.h 4 * 5 * Copyright (C) 2013 Linaro Limited 6 */ 7 8#ifndef _ARM_KERNEL_KPROBES_SIMULATE_INSN_H 9#define _ARM_KERNEL_KPROBES_SIMULATE_INSN_H 10 11void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs); 12void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs); 13void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs); 14void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs); 15void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs); 16void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs); 17void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs); 18void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs); 19 20#endif /* _ARM_KERNEL_KPROBES_SIMULATE_INSN_H */