Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161613714
D5394.id13922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
726 B
Referenced Files
None
Subscribers
None
D5394.id13922.diff
View Options
Index: head/sys/arm64/arm64/locore.S
===================================================================
--- head/sys/arm64/arm64/locore.S
+++ head/sys/arm64/arm64/locore.S
@@ -265,6 +265,7 @@
mrs x2, icc_sre_el2
orr x2, x2, #ICC_SRE_EL2_EN /* Enable access from insecure EL1 */
+ orr x2, x2, #ICC_SRE_EL2_SRE /* Enable system registers */
msr icc_sre_el2, x2
2:
Index: head/sys/arm64/include/armreg.h
===================================================================
--- head/sys/arm64/include/armreg.h
+++ head/sys/arm64/include/armreg.h
@@ -131,6 +131,7 @@
#define ICC_SRE_EL1_SRE (1U << 0)
/* ICC_SRE_EL2 */
+#define ICC_SRE_EL2_SRE (1U << 0)
#define ICC_SRE_EL2_EN (1U << 3)
/* ID_AA64DFR0_EL1 */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 7:52 AM (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34743448
Default Alt Text
D5394.id13922.diff (726 B)
Attached To
Mode
D5394: Enable GICv3 system register interface
Attached
Detach File
Event Timeline
Log In to Comment