mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
arm64_mmu: Add data synchronization barrier after page tables are written
The page tables must be committed to system memory before we can proceed enabling the MMU. ISB() is not enough to do this.
This commit is contained in:
parent
8f9c337c66
commit
2bed7c4646
1 changed files with 1 additions and 0 deletions
|
|
@ -536,6 +536,7 @@ static void enable_mmu_el1(unsigned int flags)
|
|||
|
||||
/* Ensure these changes are seen before MMU is enabled */
|
||||
|
||||
ARM64_DSB();
|
||||
ARM64_ISB();
|
||||
|
||||
/* Enable the MMU and data cache */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue