git: 64963dd2f0a2 - main - arm64: Add more spsr_el1 register values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 16:31:10 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=64963dd2f0a2a47e94fb3f7c56198c475b9821a3
commit 64963dd2f0a2a47e94fb3f7c56198c475b9821a3
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-02-21 15:58:20 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-02-21 16:27:36 +0000
arm64: Add more spsr_el1 register values
Sponsored by: Arm Ltd
---
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 0ff42de90f46..46d13d253746 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2077,8 +2077,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