ass
This commit is contained in:
@@ -69,7 +69,8 @@ enum Vector {
|
|||||||
// Interrupts
|
// Interrupts
|
||||||
KEYBOARD=32,
|
KEYBOARD=32,
|
||||||
PANIC=33,
|
PANIC=33,
|
||||||
TIMER=34
|
TIMER=34,
|
||||||
|
ASS=25
|
||||||
};
|
};
|
||||||
constexpr size_t VECTORS = 256;
|
constexpr size_t VECTORS = 256;
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,8 @@ void initInterruptHandlers() {
|
|||||||
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
|
IDT::set(Core::Interrupt::Vector::ASS,
|
||||||
|
IDT::InterruptDescriptor::Returning(handle_assassin));
|
||||||
|
// Load the idt pointer
|
||||||
IDT::load();
|
IDT::load();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user