Commit 37d772d1 authored by Mathieu Maret's avatar Mathieu Maret

Correct definition of masking IRQ

parent 97a9955b
......@@ -42,7 +42,7 @@ void initPic(void)
outb(PIC_SLAVE_DATA, 0xFF);
}
void enableIrq(int irq)
void disableIrq(int irq)
{
if (irq < 8) {
uint8_t status = inb(PIC_MASTER_DATA);
......@@ -53,7 +53,7 @@ void enableIrq(int irq)
}
}
void disableIrq(int irq)
void enableIrq(int irq)
{
if (irq < 8) {
uint8_t status = inb(PIC_MASTER_DATA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment