nuttx/arch/z80/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
..
common arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
ez80 arch/Toolchain.defs: use _start entry 2025-12-16 13:07:37 -03:00
z8 arch/Toolchain.defs: use _start entry 2025-12-16 13:07:37 -03:00
z80 arch/Toolchain.defs: use _start entry 2025-12-16 13:07:37 -03:00
z180 arch/Toolchain.defs: use _start entry 2025-12-16 13:07:37 -03:00
.gitignore
Makefile arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Makefile.clang style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Makefile.sdccl style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Makefile.sdccw style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Makefile.zdsiil arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Makefile.zdsiiw arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00