mmu: add early memory barrier to L1Table.update()

This commit is contained in:
Astro 2020-06-18 00:46:34 +02:00
parent 7c4d390ce4
commit f50018092c

View File

@ -368,6 +368,7 @@ impl L1Table {
let result = f(&mut section); let result = f(&mut section);
entry.set_section(section); entry.set_section(section);
asm::dmb();
cache::tlbiall(); cache::tlbiall();
asm::dsb(); asm::dsb();
asm::isb(); asm::isb();