nuttx/arch
liwenxiang1 46c319d948 arch/x64: Solve the sig_nest hang issue
When an interrupt occurs, the hardware automatically pushes the current RIP/RSP onto the interrupt stack. During the interrupt return, the iretq instruction pops them back. The problem is that the RIP/RSP modified by the signal is stored in the XCP context, whereas iretq operates on the interrupt stack. As a result, the RIP/RSP modified by the signal does not take effect in the iretq instruction, causing the task receiving the signal to fail to jump correctly to the signal handler. This behavior appears as if the signal is lost

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
2026-01-20 06:53:04 +08:00
..
arm arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
arm64 arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
avr arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
ceva arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
dummy
hc arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
mips arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
misoc arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
or1k arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
renesas arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
risc-v arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
sim arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
sparc arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
tricore arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
x86 arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
x86_64 arch/x64: Solve the sig_nest hang issue 2026-01-20 06:53:04 +08:00
xtensa arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
z16 arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
z80 arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
CMakeLists.txt
Kconfig netdev: delete macro CONFIG_NETDEV_CHECKSUM with nuttx 2026-01-19 23:22:46 +08:00