zephyr/arch/riscv
Jimmy Zheng ba263da94e arch: riscv: fix exception_depth with RISCV_ALWAYS_SWITCH_THROUGH_ECALL
When 'arch_switch()' switches though Ecall, 'exception_depth' is
incorrectly added to the next thread because the current thread is updated
before arch_switch().
Add 'exception_depth' back to the previous thread when Ecall is called from
'arch_switch()'.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2024-07-12 05:55:26 -04:00
..
core arch: riscv: fix exception_depth with RISCV_ALWAYS_SWITCH_THROUGH_ECALL 2024-07-12 05:55:26 -04:00
include
CMakeLists.txt
Kconfig riscv: pmp: actually activate stack overflow protection during boot 2024-07-11 18:22:08 -04:00
Kconfig.isa