WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / include / asm / uprobes.h
blob315eef654e39a4c0972491403f4503ee24b49c4c
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2014-2016 Pratyush Anand <panand@redhat.com>
4 */
6 #ifndef _ASM_UPROBES_H
7 #define _ASM_UPROBES_H
9 #include <asm/debug-monitors.h>
10 #include <asm/insn.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 {
24 struct arch_uprobe {
25 union {
26 u8 insn[MAX_UINSN_BYTES];
27 u8 ixol[MAX_UINSN_BYTES];
29 struct arch_probe_insn api;
30 bool simulate;
33 #endif