fixing typos

This commit is contained in:
Simon
2025-07-08 00:40:33 +02:00
parent 38a10f2010
commit 2a7d1bdedc
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ enum Vector {
// Interrupts
KEYBOARD=32,
PANIC=33
PANIC=33,
TIMER=34
};
constexpr size_t VECTORS = 256;

View File

@@ -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();