git: fa975e2a5bb2 - main - arm64: Add Debug OS Lock fields
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Oct 2025 08:41:56 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa975e2a5bb221e2e15305c4c54162f7b9ec062a
commit fa975e2a5bb221e2e15305c4c54162f7b9ec062a
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-10-07 08:25:25 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-10-07 08:25:25 +0000
arm64: Add Debug OS Lock fields
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D52930
---
sys/arm64/include/armreg.h | 5 +++++
1 file changed, 5 insertions(+)
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