PCI

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.
User avatar
zity
Member
Member
Posts: 99
Joined: Mon Jul 13, 2009 5:52 am
Location: Denmark

Re: PCI

Post by zity »

You can still use the PCI devices through the legacy PIC controller. The PCI devices header field "Interrupt Line" tells you which interrupt the PCI device use, when using the legacy PIC controller.

But on the other side, it's pretty easy to parse the ACPI tables in order to find the location of the I/O APIC. Just grap the ACPI specifications and take a look at the table section. You should be able to implement a simple parser in a few hours.
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

Re: PCI

Post by lemonyii »

i've got it before, but it seems too long.
and i checked the section you metioned, it is quite complex to find the structures like float...
i have classes all day, i will try tomorrow.
thx
Enjoy my life!------A fish with a tattooed retina
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

Re: PCI

Post by lemonyii »

oh, i've implemented it 2 days ago.
but thank you all the same.
Enjoy my life!------A fish with a tattooed retina
Post Reply