summaryrefslogtreecommitdiff
path: root/kernel/apic.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-27 00:59:48 +0200
committerMiguel <m.i@gmx.at>2018-09-27 00:59:48 +0200
commitc7199cdb8b088b1b1d243aabfbd1c831bdae9637 (patch)
treee6f747b4b7e7d201e407a1656ef971b1c97bf499 /kernel/apic.c
parentb86f48da7fc46934d576698bb4f16be9b2a7eaf9 (diff)
reenable interrupts
Diffstat (limited to 'kernel/apic.c')
-rw-r--r--kernel/apic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/apic.c b/kernel/apic.c
index e48b19b..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, INTERRUPT_PIT_TIMER, 0x0<<24); // pit
+ 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)
+ 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*/