pub fn route_nic_irq(irq: u8, vector: u8)Expand description
Route a PCI NIC interrupt through the I/O APIC using stored MADT overrides.
irq is the PCI interrupt line (from pci_dev.interrupt_line).
vector is the IDT vector to route to (typically PIC1_OFFSET + irq for
legacy IRQs, or irq itself for MSI / GSIs ≥ 16).
This should be called from the NIC driver’s init() after the device is
registered, with interrupts on the device-side already masked via IMC so
no stray IRQ arrives before the handler is live.