diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-05 16:09:03 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-05 16:09:03 +0200 |
commit | 13ab5aef4da9ded93d7c93442911554e86ea9714 (patch) | |
tree | e9efd37e3c65f3e0be9293f64f0f03e0ad2f4336 /src/idt/interrupthandler.cc | |
parent | Add makefile notes (diff) | |
download | kernel.cpp-13ab5aef4da9ded93d7c93442911554e86ea9714.tar.xz |
add broken Scheduler
Diffstat (limited to 'src/idt/interrupthandler.cc')
-rw-r--r-- | src/idt/interrupthandler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idt/interrupthandler.cc b/src/idt/interrupthandler.cc index 7af830b..7524f19 100644 --- a/src/idt/interrupthandler.cc +++ b/src/idt/interrupthandler.cc @@ -9,6 +9,7 @@ InterruptHandler::~InterruptHandler() { IDT::uninstall(m_irq, this); } -void InterruptHandler::trigger() { +cpu_state_t* InterruptHandler::trigger(cpu_state_t* cpu) { printk("Unhandled interrupt ", uhex{m_irq}, '\n'); + return cpu; } |