walnux/arch/xtensa
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
..
include xtensa: inline up_cpu_index 2025-01-23 10:24:43 +08:00
src arch/xtensa: set PS.EXCM initial value to 1 while new thread created 2025-03-15 11:39:23 +08:00
CMakeLists.txt cmake:implement CMake build of xtensa arch 2024-11-02 18:08:38 +08:00
Kconfig arch/xtensa: initial support for debugpoint api 2025-03-13 09:51:03 +01:00