walnux/arch/xtensa/src
Gao Feng 3194ef0e7c arch/xtensa: set PS.EXCM initial value to 1 while new thread created
To avoid level-1 interrupt break retrieve PC/A0/SP/A2 register,
PS.EXCM set to 1 by CPU HW while handling exception/interrupt.

But if context switching happens and new thread created,
the thread initial value of PS.EXCM is used.

Same behevior as ESP-IDF code:
https://github.com/espressif/esp-idf/blob/master/
components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c#L366

Signed-off-by: Gao Feng <Feng.Gao@sony.com>
2025-03-15 11:39:23 +08:00
..
cmake kasan/kconfig: Add config CONFIG_MM_KASAN_INSTRUMENT 2025-01-14 14:01:48 +08:00
common arch/xtensa: set PS.EXCM initial value to 1 while new thread created 2025-03-15 11:39:23 +08:00
esp32 arch/xtensa/esp32[s2|s3]: Add I2C slave support 2025-02-26 16:32:40 +01:00
esp32s2 arch/xtensa/esp32[s2|s3]: Add I2C slave support 2025-02-26 16:32:40 +01:00
esp32s3 arch/xtensa/esp32[s2|s3]: Add I2C slave support 2025-02-26 16:32:40 +01:00
lx6 arch/xtensa: Add --print-memory-usage to LDFLAGS in Toolchain.defs 2025-02-01 13:20:12 -03:00
lx7 arch/xtensa: Add --print-memory-usage to LDFLAGS in Toolchain.defs 2025-02-01 13:20:12 -03:00
.gitignore
CMakeLists.txt arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Makefile arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00