Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109435055
D43971.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D43971.diff
View Options
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -190,6 +190,14 @@
#define CTR_ILINE_VAL(reg) ((reg) & CTR_ILINE_MASK)
#define CTR_ILINE_SIZE(reg) (4 << (CTR_ILINE_VAL(reg) >> CTR_ILINE_SHIFT))
+/* CurrentEL - Current Exception Level */
+#define CURRENTEL_EL_SHIFT 2
+#define CURRENTEL_EL_MASK (0x3 << CURRENTEL_EL_SHIFT)
+#define CURRENTEL_EL_EL0 (0x0 << CURRENTEL_EL_SHIFT)
+#define CURRENTEL_EL_EL1 (0x1 << CURRENTEL_EL_SHIFT)
+#define CURRENTEL_EL_EL2 (0x2 << CURRENTEL_EL_SHIFT)
+#define CURRENTEL_EL_EL3 (0x3 << CURRENTEL_EL_SHIFT)
+
/* DAIFSet/DAIFClear */
#define DAIF_D (1 << 3)
#define DAIF_A (1 << 2)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 12:49 AM (12 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16483780
Default Alt Text
D43971.diff (717 B)
Attached To
Mode
D43971: arm64: Add CurrentEL register definitions
Attached
Detach File
Event Timeline
Log In to Comment