feat(atapi): unmask atapi IRQs
This commit is contained in:
parent
363eea1f6e
commit
cec3398b85
@ -20,8 +20,10 @@ void remap_pic(void)
|
|||||||
outb(SLAVE_PORT_B, ICW4_INIT);
|
outb(SLAVE_PORT_B, ICW4_INIT);
|
||||||
|
|
||||||
// OCW1
|
// OCW1
|
||||||
outb(MASTER_PORT_B, PIC_PIN_2 | PIC_PIN_3 | PIC_PIN_4 |
|
outb(MASTER_PORT_B, PIC_PIN_3 | PIC_PIN_4 | PIC_PIN_5 |
|
||||||
PIC_PIN_5 | PIC_PIN_6 | PIC_PIN_7);
|
PIC_PIN_6 | PIC_PIN_7);
|
||||||
|
outb(SLAVE_PORT_B, PIC_PIN_0 | PIC_PIN_1 | PIC_PIN_2 | PIC_PIN_3 |
|
||||||
|
PIC_PIN_4 | PIC_PIN_5 | PIC_PIN_6 | PIC_PIN_7);
|
||||||
|
|
||||||
asm volatile("sti");
|
asm volatile("sti");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user