aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include
diff options
context:
space:
mode:
authorMinsoo Choo <minsoochoo0122@proton.me>2026-02-06 20:03:53 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-02-09 04:17:16 +0000
commit8f23665fed2fbaf4481359b4d2fcdd7b9feb40e3 (patch)
tree94ad4006ebf97f623a37d5fc08d899204ef6a3cd /sys/arm64/include
parent2088e742013bb1b9ca237a79767362efe92d9da8 (diff)
Diffstat (limited to 'sys/arm64/include')
-rw-r--r--sys/arm64/include/pcb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/include/pcb.h b/sys/arm64/include/pcb.h
index c0feb1149cf5..9955f5b22714 100644
--- a/sys/arm64/include/pcb.h
+++ b/sys/arm64/include/pcb.h
@@ -46,6 +46,11 @@ struct trapframe;
#define PCB_FP 10
#define PCB_LR 11
+/*
+ * struct pcb is known to and used by kernel debuggers. Its layout must be kept
+ * stable. When adding extra fields that are accessed by kernel debuggers,
+ * debuggers should be backward compatible by using osreldate.
+ */
struct pcb {
uint64_t pcb_x[12];
/* These two need to be in order as we access them together */