nuttx/arch/x86
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
..
include arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
src arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
Kconfig arch/x86: Fix the Kconfig warning 2022-06-07 12:43:11 +09:00