forked from M-Labs/zynq-rs
fix mmu table uninitialized on core1
This commit is contained in:
parent
e894f502a4
commit
fa3fe497e1
|
@ -69,7 +69,8 @@ unsafe extern "C" fn boot_core1() -> ! {
|
||||||
let mpcore = mpcore::RegisterBlock::mpcore();
|
let mpcore = mpcore::RegisterBlock::mpcore();
|
||||||
mpcore.scu_invalidate.invalidate_core1();
|
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, || {
|
mmu::with_mmu(mmu_table, || {
|
||||||
ACTLR.enable_smp();
|
ACTLR.enable_smp();
|
||||||
ACTLR.enable_prefetch();
|
ACTLR.enable_prefetch();
|
||||||
|
|
Loading…
Reference in New Issue