zephyr/arch/arm/core/mpu
Dawid Niedzwiecki 8ff447700b arm: mpu: clear mpu regions before initialization
Disabling the MPU doesn't clear regions configuration. There is a risk
in multi-image environment that there are some old region setting e.g.
stack guard. This may cause a memory fault, because of different images
layout e.g. RO/RW.

Just clear and disable all regions configuration before the new
initialization.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2024-01-26 09:33:09 +00:00
..
cortex_a_r arch: arm: remove num-mpu-regions 2023-12-01 10:48:00 +00:00
cortex_m arch: arm: remove num-mpu-regions 2023-12-01 10:48:00 +00:00
arm_core_mpu.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
arm_core_mpu_dev.h arch: arm: remove aarch32 from include header guards 2023-12-12 18:47:57 +00:00
arm_mpu.c arm: mpu: clear mpu regions before initialization 2024-01-26 09:33:09 +00:00
arm_mpu_regions.c soc: move arm cortex_m common mpu code to arch/arm/core/mpu 2023-11-02 09:45:18 +01:00
arm_mpu_v7_internal.h arm: mpu: clear mpu regions before initialization 2024-01-26 09:33:09 +00:00
arm_mpu_v8_internal.h arch: arm: remove num-mpu-regions 2023-12-01 10:48:00 +00:00
CMakeLists.txt soc: move arm cortex_m common mpu code to arch/arm/core/mpu 2023-11-02 09:45:18 +01:00
Kconfig arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
nxp_mpu.c arm: nxp_mpu: enable module's clock only when needed 2023-11-17 13:44:27 -06:00