zephyr/arch
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
..
arc
arm
arm64
common
mips
nios2
posix
riscv arch: riscv: fix exception_depth with RISCV_ALWAYS_SWITCH_THROUGH_ECALL 2024-07-12 05:55:26 -04:00
sparc
x86
xtensa
archs.yml
CMakeLists.txt
Kconfig
Kconfig.v1
Kconfig.v2