(IO) APIC interrupt accepting
Posted: Fri Nov 25, 2011 7:10 am
Hey,
I have read some documents about the apic, io apic and msi. Also, I wrote some basic functions to write towards the apic, io apic + a function the read/write msi messages. I really want to build in MSI support since that is a quit clean method of building in PCI interrupt support.
But now I'm stuck, I can't really figure out how I can get the apic to accept interrupts from MSI/IO apic. I do understand that I have to fill the vector table of the io apic, but how can I get the APIC to accept interrupts from MSI AND the IO apic.
I hope some of you can push me in the correct direction!
Greets,
Bietje
I have read some documents about the apic, io apic and msi. Also, I wrote some basic functions to write towards the apic, io apic + a function the read/write msi messages. I really want to build in MSI support since that is a quit clean method of building in PCI interrupt support.
But now I'm stuck, I can't really figure out how I can get the apic to accept interrupts from MSI/IO apic. I do understand that I have to fill the vector table of the io apic, but how can I get the APIC to accept interrupts from MSI AND the IO apic.
I hope some of you can push me in the correct direction!
Greets,
Bietje