nuttx/arch/risc-v
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 barrier: add UP_RMB UP_WMB 2025-12-22 10:22:06 -03:00
src arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
CMakeLists.txt arch/risk-v: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig risc-v/litex: Add 64-bit S-mode vexiiriscv support for litex. 2025-12-30 10:18:57 -03:00