git: ddd5ff0f770d - stable/15 - arm64: Add Debug OS Lock fields

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Thu, 09 Oct 2025 16:32:25 UTC
The branch stable/15 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=ddd5ff0f770dd47490133a94e8e5b9a617f08c15

commit ddd5ff0f770dd47490133a94e8e5b9a617f08c15
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-10-07 08:25:25 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-10-09 16:31:50 +0000

    arm64: Add Debug OS Lock fields
    
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D52930
    
    (cherry picked from commit fa975e2a5bb221e2e15305c4c54162f7b9ec062a)
---
 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 500f35c48787..401a963e2ba9 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2148,6 +2148,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
@@ -2155,6 +2156,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