aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2025-10-27 10:55:57 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-10-27 11:36:17 +0000
commitaa22b68ec76699527de04c99425716ab45c9b8c2 (patch)
tree850fbca34f2552a2d61fedaef96a5905ee879aa9
parentfddf48eb012c8c7dd640c1fea5c0766f8d85f0c4 (diff)
arm64: Include armreg.h in db_disasm.c
It is needed for INSN_SIZE. Include it directly rather than depending on header pollution. Reviewed by: imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D53322
-rw-r--r--sys/arm64/arm64/db_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/arm64/db_disasm.c b/sys/arm64/arm64/db_disasm.c
index ab1002560b20..14ae2acc2ce6 100644
--- a/sys/arm64/arm64/db_disasm.c
+++ b/sys/arm64/arm64/db_disasm.c
@@ -31,6 +31,7 @@
#include <ddb/db_access.h>
#include <ddb/db_sym.h>
+#include <machine/armreg.h>
#include <machine/disassem.h>
static u_int db_disasm_read_word(vm_offset_t);