zephyr/arch/arm/core/aarch32
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
..
cortex_a_r arch: arm: aarch32: cortex_a_r: Dump callee saved registers on fault 2021-04-20 17:20:15 +02:00
cortex_m arch: arm: cortex_m: fix D-Cache reset with CONFIG_INIT_ARCH_HW_AT_BOOT 2021-05-18 11:39:26 -05:00
mpu arch: arm: cortex_m: z_arm_mpu_init: fix D-Cache invalidation 2021-05-18 11:39:26 -05:00
CMakeLists.txt arch: arm: aarch32: Move mpu code up a level 2021-05-06 19:39:09 +02:00
Kconfig arch: arm: aarch32: Move mpu code up a level 2021-05-06 19:39:09 +02:00
__aeabi_atexit.c
cpu_idle.S
fatal.c arch: arm: aarch32: Use ARRAY_SIZE in for loop 2021-04-20 17:20:15 +02:00
irq_manage.c arch: replace power/power.h with pm/pm.h 2021-05-05 18:35:49 -04:00
irq_offload.c
irq_relay.S
isr_wrapper.S arch: arm: aarch32: Fix spurious interrupt handling 2021-04-20 08:30:41 -04:00
nmi.c power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
nmi_on_reset.S
prep_c.c arm: cortex_m: fix vector table relocation in non-XIP builds 2021-02-03 10:44:17 -05:00
swap.c
swap_helper.S arch: arm: Add code for swapping threads between secure and non-secure 2021-05-05 13:00:31 +02:00
thread.c arch: arm: Add code for swapping threads between secure and non-secure 2021-05-05 13:00:31 +02:00
userspace.S
vector_table.ld debug: Clean up thread awareness data sections 2021-03-17 14:43:01 -05:00