aboutsummaryrefslogtreecommitdiff
path: root/src/idt/interrupthandler.cc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-05 16:09:03 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-05 16:09:03 +0200
commit13ab5aef4da9ded93d7c93442911554e86ea9714 (patch)
treee9efd37e3c65f3e0be9293f64f0f03e0ad2f4336 /src/idt/interrupthandler.cc
parentAdd makefile notes (diff)
downloadkernel.cpp-13ab5aef4da9ded93d7c93442911554e86ea9714.tar.xz
add broken Scheduler
Diffstat (limited to 'src/idt/interrupthandler.cc')
-rw-r--r--src/idt/interrupthandler.cc3
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;
}