diff options
| author | Miguel <m.i@gmx.at> | 2018-09-26 11:12:18 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-26 11:12:18 +0200 |
| commit | 915791f6acedbb35db73216156c1baa790e384d9 (patch) | |
| tree | 203c1308309fac2a336686ca48f7fbd05013bdb1 /kernel/apic.c | |
| parent | ae33cc6557790a502a01b380b0926944ca2f3cfa (diff) | |
claning up interrupts
Diffstat (limited to 'kernel/apic.c')
| -rw-r--r-- | kernel/apic.c | 8 |
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*/ |
