mirror of
https://github.com/apache/nuttx.git
synced 2026-09-10 19:06:35 +00:00
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> |
||
|---|---|---|
| .. | ||
| fork.S | ||
| Kconfig | ||
| mips32-memorymap.h | ||
| mips_cache.S | ||
| mips_copystate.c | ||
| mips_doirq.c | ||
| mips_fork.c | ||
| mips_fork.h | ||
| mips_initialstate.c | ||
| mips_irq.c | ||
| mips_registerdump.c | ||
| mips_saveusercontext.c | ||
| mips_schedulesigaction.c | ||
| mips_sigdeliver.c | ||
| mips_swint0.c | ||
| mips_switchcontext.c | ||
| mips_syscall0.S | ||
| Toolchain.defs | ||