nuttx/arch/misoc/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/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
lm32 arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
minerva arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
.gitignore
Makefile arch/misoc: migrate to SPDX identifier 2024-12-02 22:43:23 +08:00