diff --git a/arch/core_interrupt.h b/arch/core_interrupt.h index 190b69e..11460eb 100644 --- a/arch/core_interrupt.h +++ b/arch/core_interrupt.h @@ -69,7 +69,8 @@ enum Vector { // Interrupts KEYBOARD=32, PANIC=33, - TIMER=34 + TIMER=34, + ASS=25 }; constexpr size_t VECTORS = 256; diff --git a/interrupt/handlers.cc b/interrupt/handlers.cc index 7c6b34c..29768e2 100644 --- a/interrupt/handlers.cc +++ b/interrupt/handlers.cc @@ -126,6 +126,8 @@ void initInterruptHandlers() { IDT::InterruptDescriptor::Returning(handle_keyboard_asm)); IDT::set(Core::Interrupt::Vector::TIMER, IDT::InterruptDescriptor::Returning(handle_timer)); - // Load the idt pointer + IDT::set(Core::Interrupt::Vector::ASS, + IDT::InterruptDescriptor::Returning(handle_assassin)); + // Load the idt pointer IDT::load(); }