nuttx/arch/x86_64/include/intel64
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
..
arch.h arch/intel64: Support MSR_IA32_TSC_ADJUST. 2025-11-17 10:25:37 +08:00
inttypes.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
io.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
irq.h arch/x64: Solve the sig_nest hang issue 2026-01-20 06:53:04 +08:00
limits.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
types.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00