Page 1 of 1

APIC Implementation

Posted: Fri Jul 29, 2011 7:22 pm
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 ?

Re: APIC Implementation

Posted: Fri Jul 29, 2011 7:38 pm
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.