feat(atapi): enable pins for atapi on pic chip
This commit is contained in:
parent
26bdfc63d6
commit
03648e3251
@ -23,7 +23,7 @@ void remap_pic(void)
|
|||||||
outb(MASTER_PORT_B, PIC_PIN_3 | PIC_PIN_4 | PIC_PIN_5 |
|
outb(MASTER_PORT_B, PIC_PIN_3 | PIC_PIN_4 | 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 |
|
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);
|
PIC_PIN_4 | PIC_PIN_5);
|
||||||
|
|
||||||
asm volatile("sti");
|
asm volatile("sti");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user