zephyr/arch/arm
Carlo Caione 7e36bd31fe arch: aarch64: Use SP_EL0 instead of SP_ELx
ARM64 is currently using SP_ELx as stack pointer for kernel and threads
because everything is running in EL1. If support for EL0 is required, it
is necessary to switch to use SP_EL0 instead, that is the only stack
pointer that can be accessed at all exception levels by threads.

While it is not required to keep using SP_EL0 also during the
exceptions, the current code implementation makes it easier to use the
same stack pointer as the one used by threads also during the
exceptions.

This patch moves the code from using SP_ELx to SP_EL0 and fill in the
missing entries in the vector table.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2020-12-04 08:13:42 -05:00
..
core arch: aarch64: Use SP_EL0 instead of SP_ELx 2020-12-04 08:13:42 -05:00
include arm: de-couple MPU code from k_mem_partition 2020-11-18 08:02:08 -05:00
CMakeLists.txt arch: arm: Remove extraneous root cmake files 2020-04-15 11:23:56 +02:00
Kconfig arch: arm: Clean up configurations 2020-04-15 11:23:56 +02:00