zephyr/include/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
..
aarch32 arch: arm: aarch32: Rework non-Cortex-M context preservation 2020-04-02 09:22:38 +02:00
aarch64 arm: AArch64: Add support for nested exception handlers 2020-03-31 19:24:48 +02:00
cortex_m aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
cortex_r arch: arm: aarch32: Rename cortex_r to cortex_a_r 2020-03-26 11:20:36 +01:00
arch.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
asm_inline_gcc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
asm_inline.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
error.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
exc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
irq.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
misc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
nmi.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
syscall.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
thread.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00