Page 1 of 1

IOAPIC vectors

Posted: Tue Jan 03, 2012 8:48 am
by Karlosoft
Hi! Woking with the ioapic if found that the PIT timer is 'linked' to vector 0x2 and not 0x0 like in the PIC. I looked for a table around here but I failed :)
Can anyone explain what are the default entries of IOAPIC linked to devices?
(I programmed my vector entries of IDT from 0x20 on)

Re: IOAPIC vectors

Posted: Tue Jan 03, 2012 9:11 am
by Owen
Only ACPI, or the MP specification, can tell you. Its system specific.

Re: IOAPIC vectors

Posted: Tue Jan 03, 2012 10:09 am
by Karlosoft
Ok... I'm parsing the interrupt entries on MPtables now :) Thank you

Re: IOAPIC vectors

Posted: Tue Jan 03, 2012 4:52 pm
by rdos
Unless you work with old systems, the MP specification is obsolete. None of my modern machines have the MP table, while all of them have ACPI. Those entries are also in a specific ACPI-table that does not rely on AML, so it is easy to read.

Re: IOAPIC vectors

Posted: Tue Jan 03, 2012 4:57 pm
by Karlosoft
I know that ACPI is a better choice but as you said I'm working with some old computers where APM and MP tables are the only one present.
In the future I'll add the support of ACPI in my OS :)