mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: riscv: make sure to flush mmu
THe MMU flushing logic got disabled due to an experiment. Re-enable it to ensure pages are consistent when shifting them across boundaries. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
efe5a8b9e8
commit
6e57fbe29b
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ pub fn map_page_inner(
|
||||||
| (flags | MMUFlags::VALID | MMUFlags::D | MMUFlags::A).bits(),
|
| (flags | MMUFlags::VALID | MMUFlags::D | MMUFlags::A).bits(),
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
// unsafe { flush_mmu() };
|
unsafe { flush_mmu() };
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue