1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm64/include/asm/probes.h
5 * Copyright (C) 2013 Linaro Limited
10 typedef u32 probe_opcode_t;
11 typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *);
13 /* architecture specific copy of original instruction */
14 struct arch_probe_insn {
16 pstate_check_t *pstate_cc;
17 probes_handler_t *handler;
18 /* restore address after step xol */
19 unsigned long restore;
22 typedef u32 kprobe_opcode_t;
23 struct arch_specific_insn {
24 struct arch_probe_insn api;