correct pic DATA addr
This commit is contained in:
parent
4120e56f82
commit
6aeafc622b
2
pic.c
2
pic.c
@ -24,7 +24,7 @@ void initPic(void)
|
||||
* intel
|
||||
* reserve interupt 0x0-0x1F in protected mode (e.g. 0-7 are CPU exception) */
|
||||
outb(PIC_MASTER_DATA, IRQ_INTERRUPT_BASE_ADDRESS);
|
||||
outb(PIC_SLAVE_DATA, IRQ_INTERRUPT_BASE_ADDRESS +8);
|
||||
outb(PIC_SLAVE_DATA, IRQ_INTERRUPT_BASE_ADDRESS + 8);
|
||||
|
||||
/* Send ICW3 master: mask where slaves are connected */
|
||||
outb(PIC_MASTER_DATA, 0x4);
|
||||
|
Loading…
Reference in New Issue
Block a user