minor enhancements
This commit is contained in:
parent
b07a4e8956
commit
ba94035200
|
@ -155,8 +155,8 @@ static void EnablePIC(void)
|
|||
IoWriteByteOnPort(0xa0, 0x11);
|
||||
|
||||
// Set ICW2 (IRQ base offsets)
|
||||
IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt
|
||||
IoWriteByteOnPort(0xa1, 0x28);
|
||||
IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt for IRQ0
|
||||
IoWriteByteOnPort(0xa1, 0x28); // PIC2 is offseted to 0x28
|
||||
|
||||
// Set ICW3
|
||||
IoWriteByteOnPort(0x21, 0x4);
|
||||
|
|
Loading…
Reference in New Issue