git: 39ae01d39b55 - stable/14 - arm64: Add more spsr_el1 register values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jul 2024 12:37:54 UTC
The branch stable/14 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=39ae01d39b55a8cf225b4ab27ccecad30740e761
commit 39ae01d39b55a8cf225b4ab27ccecad30740e761
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:21:36 +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 7b3835474ae5..f3af9edec4c4 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2068,8 +2068,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