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:
Ville Juven 2022-10-05 16:13:28 +03:00 committed by Xiang Xiao
parent 373568f63a
commit 0d52b5be56
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ static void map_region(uintptr_t paddr, uintptr_t vaddr, size_t size,
/* Map it to the L3 table */ /* 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 */ /* Then add the L3 mappings */