Fix offset typo, reformat
This commit is contained in:
parent
69c9b2c9ca
commit
bfc7754fab
1 changed files with 8 additions and 7 deletions
|
@ -37,7 +37,7 @@ void interrupt_init() {
|
|||
|
||||
/* ICW2 - remap offset address of IDT */
|
||||
outb(0x21, 0x20);
|
||||
outb(0xA1, 0x82);
|
||||
outb(0xA1, 0x28);
|
||||
|
||||
/* ICW3 - setup cascading */
|
||||
outb(0x21, 0x00);
|
||||
|
@ -92,6 +92,7 @@ void interrupt_init() {
|
|||
lidt(IDT, size);
|
||||
|
||||
keyboard_init();
|
||||
|
||||
}
|
||||
|
||||
#endif //INTERRUPTS_C
|
Loading…
Reference in a new issue