afd9b5b0b7
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. |
||
---|---|---|
.. | ||
drivers | ||
cpu.c | ||
cpu.h | ||
gdt.c | ||
gdt.h | ||
helpers.h | ||
helpers.S | ||
idt.c | ||
idt.h | ||
interrupt.h | ||
Makefile.x86 | ||
mtarch.c | ||
mtarch.h |