fix mmu on core1

This commit is contained in:
Simon Renblad 2025-01-06 16:35:20 +08:00
parent 281ba1370d
commit bae8081935

View File

@ -70,7 +70,8 @@ unsafe extern "C" fn boot_core1() -> ! {
let mpcore = mpcore::RegisterBlock::mpcore();
mpcore.scu_invalidate.invalidate_core1();
let mmu_table = mmu::L1Table::get();
let mmu_table = mmu::L1Table::get()
.setup_flat_layout();
mmu::with_mmu(mmu_table, || {
ACTLR.enable_smp();
ACTLR.enable_prefetch();