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
1 changed files with 8 additions and 7 deletions

View File

@ -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