Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm64 / include / asm / insn-def.h
blob1a7d0d483698e204a741e5644612bbefab2eaa62
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __ASM_INSN_DEF_H
4 #define __ASM_INSN_DEF_H
6 #include <asm/brk-imm.h>
8 /* A64 instructions are always 32 bits. */
9 #define AARCH64_INSN_SIZE 4
12 * BRK instruction encoding
13 * The #imm16 value should be placed at bits[20:5] within BRK ins
15 #define AARCH64_BREAK_MON 0xd4200000
18 * BRK instruction for provoking a fault on purpose
19 * Unlike kgdb, #imm16 value with unallocated handler is used for faulting.
21 #define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5))
23 #endif /* __ASM_INSN_DEF_H */