From 915791f6acedbb35db73216156c1baa790e384d9 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 26 Sep 2018 11:12:18 +0200 Subject: claning up interrupts --- kernel/apic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel/apic.c') 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*/ -- cgit v1.2.3