Extends the irq:
scheme by:
O_CREAT
, but not listed.O_CREAT
, and when opened, they reserve that vector so that it won't be listed again. These are all reserved during IDT initialization. Note that the IRQ numbers here are simply the IDT vector number, minus 32 (the CPU exceptions).bsp
file, which fetches the APIC ID of the bootstrap processor.
While this doesn't enable MSI/MSI-X on its own, it allows drivers like xhcid
to map the MSI-X vectors, and then set the APIC ID and allocated interrupt vector.I also got the APIC timer working, but I'll include that in another MR when the correct frequencies are calibrated etc.