mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
mpfs_mm_init: Mark the L2 kernel page table as a global mapping
Kernel mappings are global, i.e. they exist in every address environment
This commit is contained in:
@@ -181,7 +181,7 @@ static void map_region(uintptr_t paddr, uintptr_t vaddr, size_t size,
|
||||
|
||||
/* Map it to the L3 table */
|
||||
|
||||
mmu_ln_setentry(2, PGT_L2_VBASE, l3pbase, vaddr, MMU_UPGT_FLAGS);
|
||||
mmu_ln_setentry(2, PGT_L2_VBASE, l3pbase, vaddr, PTE_G);
|
||||
}
|
||||
|
||||
/* Then add the L3 mappings */
|
||||
|
||||
Reference in New Issue
Block a user