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> |
||
|---|---|---|
| .. | ||
| cortex_a_r | ||
| cortex_m | ||
| arm_core_mpu_dev.h | ||
| arm_core_mpu.c | ||
| arm_mpu_regions.c | ||
| arm_mpu_v7_internal.h | ||
| arm_mpu_v8_internal.h | ||
| arm_mpu.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| nxp_mpu.c | ||