From 2a7d1bdedc358bf9415ab3fa2c8d3435e352343e Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 8 Jul 2025 00:40:33 +0200 Subject: [PATCH] fixing typos --- arch/core_interrupt.h | 2 +- interrupt/handlers.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/core_interrupt.h b/arch/core_interrupt.h index 5e26c7b..190b69e 100644 --- a/arch/core_interrupt.h +++ b/arch/core_interrupt.h @@ -68,7 +68,7 @@ enum Vector { // Interrupts KEYBOARD=32, - PANIC=33 + PANIC=33, TIMER=34 }; constexpr size_t VECTORS = 256; diff --git a/interrupt/handlers.cc b/interrupt/handlers.cc index 5a42256..c83bca4 100644 --- a/interrupt/handlers.cc +++ b/interrupt/handlers.cc @@ -123,7 +123,7 @@ void initInterruptHandlers() { // TODO: Add more handlers here IDT::set(Core::Interrupt::Vector::KEYBOARD, IDT::InterruptDescriptor::Returning(handle_keyboard_asm)); - IDT::set(Core::Interrupt::Vector::Timer, + IDT::set(Core::Interrupt::Vector::TIMER, IDT::InterruptDescriptor::Returning(handle_timer)); // Load the idt pointer IDT::load();