nuttx/arch/avr
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/avr: fix atomic load functions from arch_atomic.c 2025-06-09 21:42:21 +08:00
src arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
Kconfig arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00