zephyr/arch/xtensa
Daniel Leung b0185189ad xtensa: mmu: fix page table initialization
xtensa_mmu_init() is called really early in the boot process
where the _kernel struct has not yet been initialized, and
thus we cannot use it to determine if the current CPU is
the boot CPU. In some cases, this may skip the call to
initialize the page tables which leaves us with incorrect
page table entries. Fix it by using a static variable to
determine whether the page tables have been initialized so
we only do it once per boot.

Fixes #76909

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-08-14 09:36:19 +02:00
..
core xtensa: mmu: fix page table initialization 2024-08-14 09:36:19 +02:00
include xtensa: move arch_kernel_init code into prep_c 2024-08-07 13:50:53 +02:00
CMakeLists.txt
Kconfig xtensa: only use BREAK if explicitly enabled 2024-06-15 04:44:48 -04:00