apic: fix timer and keyboard handling
This commit is contained in:
@@ -67,7 +67,12 @@ void kmain(unsigned int magic, unsigned int info)
|
||||
else
|
||||
{
|
||||
pic_disable();
|
||||
enable_symmetric_io_mode();
|
||||
enable_apic();
|
||||
ioapic_init();
|
||||
printf("IOAPIC init done\n");
|
||||
ioapic_redirect(2, 32);//timer
|
||||
ioapic_redirect(1, 33);//keyboard
|
||||
}
|
||||
|
||||
printf("done fucking with pages and memory map!\n");
|
||||
|
||||
Reference in New Issue
Block a user