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 arch: arm: cortex_m: add ip & lr to the clobber list 2024-07-10 11:58:13 -04:00
arm64
common everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
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 xtensa: mmu: clear ZSR_DEPC_SAVE at boot 2024-06-28 20:53:37 -04:00
archs.yml
CMakeLists.txt
Kconfig
Kconfig.v1
Kconfig.v2