summaryrefslogtreecommitdiff
path: root/kernel/src/interrupts/idt.rs
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-11-27 01:46:33 +0100
committerDennis Kobert <dennis@kobert.dev>2019-11-27 01:46:33 +0100
commit2701fe07b4c8c9b6a36112c98fbfc900acbd6cf3 (patch)
treed8b6d0c2ba3f79110a5c3b0c885749a14b8de25d /kernel/src/interrupts/idt.rs
parent0cb231bd3de9bcd4c39064399211fbd2fbc6237e (diff)
Implement proto Keyboard handlingHEADmaster
Diffstat (limited to 'kernel/src/interrupts/idt.rs')
-rw-r--r--kernel/src/interrupts/idt.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/src/interrupts/idt.rs b/kernel/src/interrupts/idt.rs
index e41f957..c901916 100644
--- a/kernel/src/interrupts/idt.rs
+++ b/kernel/src/interrupts/idt.rs
@@ -26,6 +26,8 @@ lazy_static! {
.set_stack_index(gdt::PAGE_FAULT_IST_INDEX);
}
idt[InterruptType::Timer.as_usize()].set_handler_fn(interrupt_handlers::timer_handler);
+ idt[InterruptType::Keyboard.as_usize()]
+ .set_handler_fn(interrupt_handlers::keyboard_handler);
idt
};