zephyr/include/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 arc: enable thread local storage 2020-11-11 13:25:29 +01:00
arm arch: aarch64: Use SP_EL0 instead of SP_ELx 2020-12-04 08:13:42 -05:00
common
nios2
posix
riscv arch: riscv: linker: add support for userspace 2020-11-09 15:37:11 -05:00
sparc sparc: add support for thread local storage 2020-11-13 14:53:55 -08:00
x86 drivers: pcie: Add support for IRQ allocation management 2020-11-14 11:13:00 +02:00
xtensa xtensa: remove errno_var from strcut _thread_arch 2020-10-24 10:52:00 -07:00
arch_inlines.h
cpu.h arch: Add SPARC processor architecture 2020-11-13 14:53:55 -08:00
syscall.h arch: riscv: add memory protection support 2020-11-09 15:37:11 -05:00