aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2025-10-07 08:25:25 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-10-07 08:25:25 +0000
commitfa975e2a5bb221e2e15305c4c54162f7b9ec062a (patch)
tree0951d70b0bf55e4dfb0b1eb3502760de68e571c9
parent306f29475fcefcca0a32d1cd764eabf7b2e441f8 (diff)
arm64: Add Debug OS Lock fields
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D52930
-rw-r--r--sys/arm64/include/armreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index da051e8f7c8a..393d6d89da0c 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2180,6 +2180,7 @@
#define OSLAR_EL1_CRn 1
#define OSLAR_EL1_CRm 0
#define OSLAR_EL1_op2 4
+#define OSLAR_OSLK (0x1ul << 0)
/* OSLSR_EL1 */
#define OSLSR_EL1_op0 2
@@ -2187,6 +2188,10 @@
#define OSLSR_EL1_CRn 1
#define OSLSR_EL1_CRm 1
#define OSLSR_EL1_op2 4
+#define OSLSR_OSLM_1 (0x1ul << 3)
+#define OSLSR_nTT (0x1ul << 2)
+#define OSLSR_OSLK (0x1ul << 1)
+#define OSLSR_OSLM_0 (0x1ul << 0)
/* PAR_EL1 - Physical Address Register */
#define PAR_F_SHIFT 0