summaryrefslogtreecommitdiff
path: root/kernel/apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/apic.c')
-rw-r--r--kernel/apic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/apic.c b/kernel/apic.c
index a670208..a90cbf6 100644
--- a/kernel/apic.c
+++ b/kernel/apic.c
@@ -147,6 +147,9 @@ void ioapic_config()
// PIT irq 00 -> 02 flags 0 -> 0x90
// kb irq 01 -> 01 flags ? -> 0x91
// mouse irq 12 -> 12 flags ? -> 0x92
+// ioapic_config_entry(2,0x90|0x2000,0x3<<24); // egde trigger on falling
+// ioapic_config_entry(2,0x90|0x8000,0x3<<24); // level trigger on high
+// ioapic_config_entry(2,0x90|0xa000,0x3<<24); // level trigger on low
ioapic_config_entry(2,0x90,0x0);
ioapic_config_entry(1,0x91,0x0);
ioapic_config_entry(12,0x92,0x0);