aboutsummaryrefslogtreecommitdiff
path: root/src/idt/interrupthandler.cc
diff options
context:
space:
mode:
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;
}