git: 144403f18ead - stable/13 - arm64: Add more spsr_el1 register values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jul 2024 12:38:00 UTC
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=144403f18ead786bf745635dd338e1a2953f80ba
commit 144403f18ead786bf745635dd338e1a2953f80ba
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-02-21 15:58:20 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-07-15 12:34:28 +0000
arm64: Add more spsr_el1 register values
Sponsored by: Arm Ltd
(cherry picked from commit 64963dd2f0a2a47e94fb3f7c56198c475b9821a3)
---
sys/arm64/include/armreg.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index 3feb048b2bc8..674d8fc6b68f 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2071,8 +2071,15 @@
#define PSR_DAIF (PSR_D | PSR_A | PSR_I | PSR_F)
/* The default DAIF mask. These bits are valid in spsr_el1 and daif */
#define PSR_DAIF_DEFAULT (PSR_F)
+#define PSR_BTYPE 0x00000c00UL
+#define PSR_SSBS 0x00001000UL
+#define PSR_ALLINT 0x00002000UL
#define PSR_IL 0x00100000UL
#define PSR_SS 0x00200000UL
+#define PSR_PAN 0x00400000UL
+#define PSR_UAO 0x00800000UL
+#define PSR_DIT 0x01000000UL
+#define PSR_TCO 0x02000000UL
#define PSR_V 0x10000000UL
#define PSR_C 0x20000000UL
#define PSR_Z 0x40000000UL