From f50018092c704a39ec3ef6f49fe8d565ad7b3d85 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 18 Jun 2020 00:46:34 +0200 Subject: [PATCH] mmu: add early memory barrier to L1Table.update() --- libcortex_a9/src/mmu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libcortex_a9/src/mmu.rs b/libcortex_a9/src/mmu.rs index a039d15..a744b5f 100644 --- a/libcortex_a9/src/mmu.rs +++ b/libcortex_a9/src/mmu.rs @@ -368,6 +368,7 @@ impl L1Table { let result = f(&mut section); entry.set_section(section); + asm::dmb(); cache::tlbiall(); asm::dsb(); asm::isb();