nuttx/arch/xtensa/include
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
..
esp32 xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00
esp32s2 xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00
esp32s3 xtensa/espressif: Update common-source integration for Xtensa devices 2026-03-29 00:33:11 +08:00
lx6 arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
lx7 arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa arch/xtensa: remove the use of XCHAL_SYSCALL_LEVEL 2026-01-23 10:52:43 +08:00
.gitignore
arch.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
elf.h xtensa: support coredump by register set alignment 2024-12-13 18:21:37 +08:00
inttypes.h arch: xtensa: fix INT32_C macro to match int32_t type 2026-02-02 10:47:55 +08:00
irq.h xtensa: Support BUILD_KERNEL. 2026-09-10 23:28:43 +08:00
limits.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
loadstore.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
setjmp.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
simcall.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stdarg.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
syscall.h xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
types.h arch/xtensa: use compiler's definition of uint32 and int32 2025-04-18 09:32:58 +08:00