Skip to content
Commit 99a81559 authored by Carlo Caione's avatar Carlo Caione Committed by Ioannis Glaropoulos
Browse files

arm: AArch64: Add support for nested exception handlers



In the current implementation both SPSR and ELR registers are saved with
the callee-saved registers and restored by the context-switch routine.
To support nested IRQs we have to save those on the stack when entering
and exiting from an ISR.

Since the values are now carried on the stack we can now add those to
the ESF and the initial stack and take care to restore them for new
threads using the new thread wrapper routine.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent f4b54cee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment