nuttx/arch/arm64/src
hujun5 657ac8317e arch: fix addrenv_switch changing this_task causing exceptions
After addrenv_switch(), the current running task (this_task) may change due to
deferred work execution. Update all architecture interrupt, syscall, and exit
handlers to re-fetch tcb = this_task() after addrenv_switch(). Ensures scheduler
and context operations use the correct TCB, preventing context corruption and
exceptions across SMP and memory-protected builds.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-17 18:23:06 -03:00
..
a64 arch/arm64: use up_prioritize_irq and up_set_type_irq instead 2026-01-16 20:26:14 +08:00
a527 arch/arm64: add timer initialization for the secondary CPUs. 2025-11-17 10:25:37 +08:00
bcm2711 arm64: fix compile failed 2026-01-16 10:26:58 -05:00
cmake Kconfig: Add configurable Stack Canaries protection levels. 2025-09-11 19:56:42 +08:00
common arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
fvp-v8r arch/arm64: add timer initialization for the secondary CPUs. 2025-11-17 10:25:37 +08:00
goldfish arch/arm64: add timer initialization for the secondary CPUs. 2025-11-17 10:25:37 +08:00
imx8 arch/arm64: add timer initialization for the secondary CPUs. 2025-11-17 10:25:37 +08:00
imx9 arch/imx9: Modify default ddr config handling 2026-01-17 11:41:57 +08:00
qemu arch/arm64: add timer initialization for the secondary CPUs. 2025-11-17 10:25:37 +08:00
rk3399 arch/arm64: use up_prioritize_irq and up_set_type_irq instead 2026-01-16 20:26:14 +08:00
zynq-mpsoc arch/arm64: use up_prioritize_irq and up_set_type_irq instead 2026-01-16 20:26:14 +08:00
.gitignore
CMakeLists.txt arch/arm64: migrate to SPDX identifier 2024-12-02 22:43:23 +08:00
Makefile binfmt:use crt0 inside of starthook 2025-04-09 23:07:29 +08:00
Toolchain.defs arch/crt0.c: revert entry _start 2025-12-10 19:06:04 +08:00