|
|
|
@ -123,7 +123,7 @@ void initInterruptHandlers() {
|
|
|
|
// TODO: Add more handlers here
|
|
|
|
// TODO: Add more handlers here
|
|
|
|
IDT::set(Core::Interrupt::Vector::KEYBOARD,
|
|
|
|
IDT::set(Core::Interrupt::Vector::KEYBOARD,
|
|
|
|
IDT::InterruptDescriptor::Returning(handle_keyboard_asm));
|
|
|
|
IDT::InterruptDescriptor::Returning(handle_keyboard_asm));
|
|
|
|
IDT::set(Core::Interrupt::Vector::Timer,
|
|
|
|
IDT::set(Core::Interrupt::Vector::TIMER,
|
|
|
|
IDT::InterruptDescriptor::Returning(handle_timer));
|
|
|
|
IDT::InterruptDescriptor::Returning(handle_timer));
|
|
|
|
// Load the idt pointer
|
|
|
|
// Load the idt pointer
|
|
|
|
IDT::load();
|
|
|
|
IDT::load();
|
|
|
|
|