APIC Implementation

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
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

APIC Implementation

Post by digo_rp »

Hi all, as I´m not a true os programmer I have some questions that I have no answers.

so...

using a 8259 pic is it possible to have more then 16 irq lines? like 24 irqs?

how could I program apic to use a simple uniprocessor system?

I have a intel manual 3a, I read it so many times, but I don´t know how could I put everyting together...

could anyone help me please ?
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: APIC Implementation

Post by gerryg400 »

using a 8259 pic is it possible to have more then 16 irq lines? like 24 irqs?
Yes, in fact the PIC only has 8 input lines. Having 15 inputs requires cascade mode. In this mode a 2nd PIC is connected to input 2 of the first PIC. If the hardware was designed correctly this can be extended to 24 inputs quite easily.
how could I program apic to use a simple uniprocessor system?
What do you want the APICs to do ? Normally the hardware connections are set by the chipset designer. The OS gets to choose things like priority.
If a trainstation is where trains stop, what is a workstation ?
Post Reply