]> Git Repo - linux.git/blob - arch/arm64/include/asm/insn-def.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / arm64 / include / asm / insn-def.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef __ASM_INSN_DEF_H
4 #define __ASM_INSN_DEF_H
5
6 #include <asm/brk-imm.h>
7
8 /* A64 instructions are always 32 bits. */
9 #define AARCH64_INSN_SIZE               4
10
11 /*
12  * BRK instruction encoding
13  * The #imm16 value should be placed at bits[20:5] within BRK ins
14  */
15 #define AARCH64_BREAK_MON       0xd4200000
16
17 /*
18  * BRK instruction for provoking a fault on purpose
19  * Unlike kgdb, #imm16 value with unallocated handler is used for faulting.
20  */
21 #define AARCH64_BREAK_FAULT     (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5))
22
23 #endif /* __ASM_INSN_DEF_H */
This page took 0.034652 seconds and 4 git commands to generate.