Jesus Sanchez-Palencia afd9b5b0b7 x86: Add APIs to 8259 PIC driver
This commit implements pic_eoi(int irq) and a helper macro PIC_INT(irq).
This first checks which PICs should be 'acked' given an IRQ number, while
the macro returns the actual system interrupt number for the IRQ according
to the offset used on the PIC initialization.
2015-12-21 08:06:14 -02:00
..
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00
2015-12-21 08:06:14 -02:00