We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1359df commit fdbf401Copy full SHA for fdbf401
src/aarch64/init.rs
@@ -91,6 +91,8 @@ pub unsafe fn init_mmu(root_paddr: PhysAddr) {
91
92
// Enable the MMU and turn on I-cache and D-cache
93
SCTLR_EL1.modify(SCTLR_EL1::M::Enable + SCTLR_EL1::C::Cacheable + SCTLR_EL1::I::Cacheable);
94
+ // Disable SPAN
95
+ SCTLR_EL1.set(SCTLR_EL1.get() | (1 << 23));
96
barrier::isb(barrier::SY);
97
}
98
0 commit comments