1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2014-2016 Pratyush Anand <panand@redhat.com>
9 #include <asm/debug-monitors.h>
11 #include <asm/probes.h>
13 #define MAX_UINSN_BYTES AARCH64_INSN_SIZE
15 #define UPROBE_SWBP_INSN BRK64_OPCODE_UPROBES
16 #define UPROBE_SWBP_INSN_SIZE AARCH64_INSN_SIZE
17 #define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES
19 typedef u32 uprobe_opcode_t
;
21 struct arch_uprobe_task
{
26 u8 insn
[MAX_UINSN_BYTES
];
27 u8 ixol
[MAX_UINSN_BYTES
];
29 struct arch_probe_insn api
;