nuttx/arch/xtensa
Marco Casaroli 5866c4e3af xtensa: Support BUILD_KERNEL.
Add what a kernel build needs on Xtensa:  a crt0 for a user process, the
kernel stack allocation that a system call switches to, the syscall entry and
return path for an unprivileged caller, and the initial register state that
starts a user task at EL0 with its save area on the kernel stack.

On the ESP32-S3 the arch code that runs while the flash mapping is in flux
moves to IRAM, and the kernel heap is placed above the user .bss so that
up_allocate_kheap() and the user address environment do not overlap.

Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-09-10 23:28:43 +08:00
..
include xtensa: Support BUILD_KERNEL. 2026-09-10 23:28:43 +08:00
src xtensa: Support BUILD_KERNEL. 2026-09-10 23:28:43 +08:00
CMakeLists.txt cmake:implement CMake build of xtensa arch 2024-11-02 18:08:38 +08:00
Kconfig arch/atomic: remove up_testset in spinlock 2026-09-08 08:58:54 +08:00