summaryrefslogtreecommitdiff
path: root/kernel/apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/apic.c')
-rw-r--r--kernel/apic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/apic.c b/kernel/apic.c
index f78a03a..4bc2bb3 100644
--- a/kernel/apic.c
+++ b/kernel/apic.c
@@ -156,10 +156,10 @@ void ioapic_config()
// ioapic_config_entry(2,0x90|0xa000,0x3<<24); // level trigger on low
// CPU
- ioapic_config_entry(2, 0x90, 0x0<<24); // pit
- ioapic_config_entry(1, 0x91, 0x0<<24); // kb
- ioapic_config_entry(12, 0x92, 0x0<<24); // mouse
- ioapic_config_entry(11, 0x93|0x8000, 0x0<<24); // e1000 (level trigger on high)
+ ioapic_config_entry(2, INTERRUPT_PIT_TIMER, 0x0<<24); // pit
+ ioapic_config_entry(1, INTERRUPT_KEYBOARD, 0x0<<24); // kb
+ ioapic_config_entry(12, INTERRUPT_MOUSE, 0x0<<24); // mouse
+ ioapic_config_entry(11, INTERRUPT_E1000|0x8000, 0x0<<24); // e1000 (level trigger on high)
}
/** startup other cpus*/