mirror of https://github.com/E-Almqvist/eOS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
131 B
9 lines
131 B
3 years ago
|
#include "pic.h"
|
||
|
|
||
|
void PIC_sendEOI(uint8 irq) {
|
||
|
if( irq >= 8 )
|
||
|
port_outb(PIC2_CMD, PIC_EOI);
|
||
|
port_outb(PIC1_CMD, PIC_EOI);
|
||
|
}
|
||
|
|