zephyr/arch/arm/core
Aurelien Jarno be49df628f arch: arm: cortex_m: z_arm_mpu_init: fix D-Cache invalidation
In case CONFIG_NOCACHE_MEMORY=y, the D-Cache need to be clean and
invalidated before enabling the MPU to make sure no data from a
__nocache__ region is present in the D-Cache.

If the D-Cache is disabled, SCB_CleanInvalidateDCache() shall not be
used as it might contains random data for random addresses, and this
might just create a bus fault.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2021-05-18 11:39:26 -05:00
..
aarch32 arch: arm: cortex_m: z_arm_mpu_init: fix D-Cache invalidation 2021-05-18 11:39:26 -05:00
common arm: cortex_m: add support for thread local storage 2020-10-24 10:52:00 -07:00
offsets arch: arm: Add code for swapping threads between secure and non-secure 2021-05-05 13:00:31 +02:00