zephyr/arch/arm
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
..
core arch: arm: aarch32: Rework non-Cortex-M context preservation 2020-04-02 09:22:38 +02:00
include arch: arm: aarch32: Rework non-Cortex-M context preservation 2020-04-02 09:22:38 +02:00
aarch32.cmake arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
aarch64.cmake arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
CMakeLists.txt arch: arm64: Introduce ARM64 (AArch64) architecture 2020-02-01 08:08:43 -05:00
Kconfig arch: arm: aarch32: Refactor interrupt interface 2020-03-13 09:59:59 +01:00