nuttx/arch/x86_64
raiden00pl 621f525804 arch/x86_64/intel64: attach shared vector handlers only once.
The vector table is shared by all CPUs, but the fault, debug and SMP
IPI handlers were attached again on every CPU (up_irqinitialize(),
x86_64_hwdebug_init() and x86_64_ap_boot()). With CONFIG_IRQCHAIN this
adds duplicate chain entries per CPU and exhausts the IRQ chain pool,
so later irq_attach() calls from drivers fail with -ENOMEM.

Attach these handlers once, on CPU0. The SMP IPI handler prototypes
move to intel64.h, under CONFIG_SMP.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: raiden00pl <raiden00@railab.me>
2026-10-09 22:39:22 +08:00
..
include arch/x86_64: Kill only the offending task on a user-space fault. 2026-10-08 15:51:41 -03:00
src arch/x86_64/intel64: attach shared vector handlers only once. 2026-10-09 22:39:22 +08:00
CMakeLists.txt arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/x86_64: add support for xAPIC 2026-09-02 18:22:34 +08:00