aboutsummaryrefslogtreecommitdiff
path: root/src/irq.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-02 21:40:10 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-02 21:40:10 +0300
commit8a3452098267e1af127d6c4f1836a9d82cd23f38 (patch)
treec9fad842a8903f64a57027b66ef54bba0dee2928 /src/irq.c
parent7ad9c01dad7b1b46eced8290b8b991383d648188 (diff)
downloadkmi-8a3452098267e1af127d6c4f1836a9d82cd23f38.tar.gz
kmi-8a3452098267e1af127d6c4f1836a9d82cd23f38.zip
more complete interrupt handling outline
+ Still largely untested, should really try to come up with a proper testsuite, at the moment it's mostly me trying things out in the (as of yet unreleased) kmx repo
Diffstat (limited to 'src/irq.c')
-rw-r--r--src/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irq.c b/src/irq.c
index 8d01fbd..73ae88d 100644
--- a/src/irq.c
+++ b/src/irq.c
@@ -67,12 +67,12 @@ void handle_irq()
struct tcb *t = get_tcb(tid);
if (!t) {
error("tcb %llu dead at irq %llu\n",
- (unsigned long long)tid,
- (unsigned long long)id);
+ (unsigned long long)tid,
+ (unsigned long long)id);
return;
}
disable_irqs();
- notify(t);
+ notify(t, NOTIFY_IRQ);
error("misc error when trying to notify irq");
}