IOAPIC vectors

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Karlosoft
Member
Member
Posts: 277
Joined: Thu Feb 14, 2008 10:46 am
Location: Italy
Contact:

IOAPIC vectors

Post 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)
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: IOAPIC vectors

Post by Owen »

Only ACPI, or the MP specification, can tell you. Its system specific.
User avatar
Karlosoft
Member
Member
Posts: 277
Joined: Thu Feb 14, 2008 10:46 am
Location: Italy
Contact:

Re: IOAPIC vectors

Post by Karlosoft »

Ok... I'm parsing the interrupt entries on MPtables now :) Thank you
rdos
Member
Member
Posts: 3308
Joined: Wed Oct 01, 2008 1:55 pm

Re: IOAPIC vectors

Post 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.
User avatar
Karlosoft
Member
Member
Posts: 277
Joined: Thu Feb 14, 2008 10:46 am
Location: Italy
Contact:

Re: IOAPIC vectors

Post 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 :)
Post Reply