Fix offset typo, reformat

This commit is contained in:
redfast00 2020-01-31 06:14:01 +01:00
parent 69c9b2c9ca
commit bfc7754fab
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -37,7 +37,7 @@ void interrupt_init() {
/* ICW2 - remap offset address of IDT */ /* ICW2 - remap offset address of IDT */
outb(0x21, 0x20); outb(0x21, 0x20);
outb(0xA1, 0x82); outb(0xA1, 0x28);
/* ICW3 - setup cascading */ /* ICW3 - setup cascading */
outb(0x21, 0x00); outb(0x21, 0x00);
@ -92,6 +92,7 @@ void interrupt_init() {
lidt(IDT, size); lidt(IDT, size);
keyboard_init(); keyboard_init();
} }
#endif //INTERRUPTS_C #endif //INTERRUPTS_C