mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +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> |
||
|---|---|---|
| .. | ||
| common | ||
| ez80 | ||
| z8 | ||
| z80 | ||
| z180 | ||
| .gitignore | ||
| Makefile | ||
| Makefile.clang | ||
| Makefile.sdccl | ||
| Makefile.sdccw | ||
| Makefile.zdsiil | ||
| Makefile.zdsiiw | ||