forked from M-Labs/zynq-rs
mmu: add early memory barrier to L1Table.update()
This commit is contained in:
parent
7c4d390ce4
commit
f50018092c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue