zephyr/include/arch
Stephanos Ioannidis b63a028fbc arch: arm: aarch32: Rework non-Cortex-M context preservation
The current context preservation implementation saves the spsr and
lr_irq registers, which contain the cpsr and pc register values of the
interrupted context, in the thread callee-saved block and this prevents
nesting of interrupts because these values are required to be part of
the exception stack frame to preserve the nested interrupt context.

This commit reworks the AArch32 non-Cortex-M context preservation
implementation to save the spsr and lr_irq registers in the exception
stack frame to allow preservation of the nested interrupt context as
well as the interrupted thread context.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-04-02 09:22:38 +02:00
..
arc global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
arm arch: arm: aarch32: Rework non-Cortex-M context preservation 2020-04-02 09:22:38 +02:00
common sys_io: pull in toolchain.h 2019-10-09 09:14:18 -04:00
nios2 extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
posix posix: add zephyr_linker_sources() support 2020-03-13 19:24:21 +01:00
riscv extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
x86 kernel: rename _k_thread_stack_element 2020-03-17 20:11:27 +02:00
xtensa arch: xtensa: Add support for Intel Apollolake 2020-02-05 10:43:25 -05:00
arch_inlines.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
cpu.h arch: arm64: Introduce ARM64 (AArch64) architecture 2020-02-01 08:08:43 -05:00
syscall.h x86: add system call functions for 64-bit 2020-01-13 16:35:10 -05:00