Page MenuHomeFreeBSD

D5394.diff
No OneTemporary

D5394.diff

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

Mime Type
text/plain
Expires
Mon, Jul 6, 7:20 AM (20 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34743448
Default Alt Text
D5394.diff (726 B)

Event Timeline