zephyr/include/arch/arm/cortex_m
Ioannis Glaropoulos 58e24f37fb arch: arm: introduce sync barriers in _arch_irq_unlock()
The ARM Cortex-M 321 application note is stressing that
when enabling interrupts by executing CPSIE i(f), or by MSR
instructions (on PRIMASK, FAULTMASK, or BASEPRI registers),
there is a need for synchronization barrier instructions,
if there is a requirement for the effect of enabling
interrupts to be recongnized immediately. _arch_irq_unlock()
is invoked in several places, therefore, we add the
barriers to make the interrupt enabling function
applicable to all usage scenarios.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-03-12 12:01:49 -07:00
..
mpu all: Update reserved function names 2019-03-11 13:48:42 -04:00
scripts arch: arm: MPU-align GCOV section, only if CONFIG_USERSPACE=y 2019-03-04 16:52:59 +01:00
addr_types.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
asm_inline_gcc.h arch: arm: introduce sync barriers in _arch_irq_unlock() 2019-03-12 12:01:49 -07:00
asm_inline.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
cmsis.h dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
error.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
exc.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
irq.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
memory_map.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
misc.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
nmi.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
sys_io.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00