zephyr/arch
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
..
arc kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
arm arch: aarch64: Use SP_EL0 instead of SP_ELx 2020-12-04 08:13:42 -05:00
common timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
nios2 kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
posix tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
riscv kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
sparc SPARC: add FPU support 2020-12-04 14:33:43 +02:00
x86 x86: fix page_validate for page-outs 2020-12-03 17:33:39 -05:00
xtensa kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig SPARC: add FPU support 2020-12-04 14:33:43 +02:00