mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||