main
Eggert Jung 6 months ago
parent ebd3bd3597
commit 2a0f0573db

@ -33,5 +33,5 @@ handle_keyboard_asm:
pop rsi;
pop rdi;
pop rax;
add rsp, 4;
iret ;

@ -101,6 +101,9 @@ void initInterruptHandlers() {
IDT::InterruptDescriptor::ReturningWithError(handle_page_fault));
// TODO: Add more handlers here
IDT::set(Core::Interrupt::Vector::KEYBOARD,
IDT::InterruptDescriptor::Returning(handle_keyboard_asm));
// Load the idt pointer
IDT::load();
}

Loading…
Cancel
Save