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 everywhere: replace double words 2024-06-25 06:05:35 -04:00
arm arch: arm: cortex_m: add ip & lr to the clobber list 2024-07-10 11:58:13 -04:00
arm64 arch/arm64/mmu: improve debugging output 2024-06-26 13:06:42 -04:00
common everywhere: replace `#if IS_ENABLED()` as per docs 2024-06-28 07:20:32 -04:00
mips arch: remove the use of `z_arch_esf_t` completely from internal 2024-06-04 14:02:51 -05:00
nios2 arch: remove the use of `z_arch_esf_t` completely from internal 2024-06-04 14:02:51 -05:00
posix build: namespace the generated headers with `zephyr/` 2024-05-28 22:03:55 +02:00
riscv arch: riscv: fix exception_depth with RISCV_ALWAYS_SWITCH_THROUGH_ECALL 2024-07-12 05:55:26 -04:00
sparc arch: remove the use of `z_arch_esf_t` completely from internal 2024-06-04 14:02:51 -05:00
x86 arch: x86: corrected parameter names 2024-06-27 20:06:20 -04:00
xtensa xtensa: mmu: clear ZSR_DEPC_SAVE at boot 2024-06-28 20:53:37 -04:00
CMakeLists.txt
Kconfig everywhere: replace double words 2024-06-22 05:40:22 -04:00
Kconfig.v1
Kconfig.v2
archs.yml