mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 10:05:21 +00:00
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> |
||
---|---|---|
.. | ||
app_memory | ||
arch | ||
audio | ||
bluetooth | ||
canbus | ||
cmsis_rtos_v1 | ||
cmsis_rtos_v2 | ||
console | ||
crypto | ||
data | ||
debug | ||
devicetree | ||
dfu | ||
disk | ||
display | ||
drivers | ||
dt-bindings | ||
fs | ||
linker | ||
logging | ||
lorawan | ||
mgmt | ||
net | ||
posix | ||
power | ||
random | ||
settings | ||
shell | ||
stats | ||
storage | ||
sys | ||
timing | ||
toolchain | ||
tracing | ||
usb | ||
zephyr | ||
cache.h | ||
device.h | ||
devicetree.h | ||
ec_host_cmd.h | ||
emul.h | ||
exc_handle.h | ||
fatal.h | ||
generated_dts_board.h | ||
init.h | ||
irq_nextlevel.h | ||
irq_offload.h | ||
irq.h | ||
kernel_includes.h | ||
kernel_structs.h | ||
kernel_version.h | ||
kernel.h | ||
mempool_heap.h | ||
mempool_sys.h | ||
ptp_clock.h | ||
sched_priq.h | ||
shared_irq.h | ||
spinlock.h | ||
sw_isr_table.h | ||
sys_clock.h | ||
syscall_handler.h | ||
syscall.h | ||
timeout_q.h | ||
toolchain.h | ||
wait_q.h | ||
zephyr.h |