zephyr/arch
Dat Nguyen Duy 50e77c2f9a arch: arm: aarch32: cortex_a_r: disable interrupts before context switching
Ultil now Cortex A/R aarch32 implementation for context
switching expects that interrupts was disabled. This is
true if a context switching happens at thread context.

But if a context switching happens at last action during
interrupt context, this assumption is not true because the
interrupts are still enabled (to allow nesting interrupts).

Disable interrupts at the last interrupt action to ensure
the interrupts are always disabled before context switching
is processed

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2023-01-18 16:22:29 +01:00
..
arc treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
arm arch: arm: aarch32: cortex_a_r: disable interrupts before context switching 2023-01-18 16:22:29 +01:00
arm64 arch/arm64: Implement ASID support in ARM64 MMU 2022-12-13 17:21:11 +09:00
common include: add missing irq.h include 2022-10-11 18:05:17 +02:00
mips include: types: remove ulong_t 2022-09-06 18:16:33 +02:00
nios2 arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00
posix arch: posix: Declare _posix_zephyr_main with int return type 2022-11-05 16:41:45 +09:00
riscv riscv: Allow SOC to override arch_irq_{lock,unlock,unlocked} 2023-01-09 19:21:39 +01:00
sparc SPARC: reduce z_thread_entry_wrapper 2022-08-03 12:05:49 +02:00
x86 arch/x86: Fix compilation error 2023-01-10 14:06:33 +00:00
xtensa arch: xtensa: save FPU register in context switching 2022-12-27 13:23:17 +01:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig userspace: Do not use --relax flag 2023-01-16 11:20:32 +00:00