nuttx/arch
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
..
arm arch/arm/STM32H5: Initial ICACHE Support 2025-03-10 13:24:02 +08:00
arm64 arm64: Initialize sctrl_el1 when running fork 2025-03-08 23:43:09 +08:00
avr Revert "Use small lock to protect usbdev and endpoint in AVR." 2025-02-13 14:15:43 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips Revert "Use small lock to protect usbdev and endpoint in arch mips" 2025-02-13 14:15:43 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k nuttx/compiler: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v arch/esp32[c3|c6|h2]: Fix efuse issue on MCUBoot 2025-03-14 11:36:40 -03:00
sim Revert "Use small lock to protect usbdev and endpoint in sim." 2025-02-13 14:15:43 +08:00
sparc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
tricore [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
x86 x86/Toolchain.defs: Add LLVM target definitions 2025-01-27 02:28:29 +08:00
x86_64 Revert "use small lock in following files:" 2025-02-13 14:15:43 +08:00
xtensa arch/xtensa: set PS.EXCM initial value to 1 while new thread created 2025-03-15 11:39:23 +08:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00