aboutsummaryrefslogtreecommitdiff
path: root/common/ipi.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-07-31 22:24:29 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-07-31 22:24:29 +0300
commit6ad1b899ed93f8bc110cdec7a722c8740f9f8d66 (patch)
tree99fe36028ffc4583c59e77d03bea2ade7a6c5ace /common/ipi.c
parent3212707a9ab549119ad0ad6441a07fe774c99f3b (diff)
downloadkmi-6ad1b899ed93f8bc110cdec7a722c8740f9f8d66.tar.gz
kmi-6ad1b899ed93f8bc110cdec7a722c8740f9f8d66.zip
start working on irqs
Diffstat (limited to 'common/ipi.c')
-rw-r--r--common/ipi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ipi.c b/common/ipi.c
index a5435a3..59f9fd1 100644
--- a/common/ipi.c
+++ b/common/ipi.c
@@ -25,11 +25,11 @@ void send_ipi(struct tcb *t)
cpu_send_ipi(t->cpu_id);
}
-struct sys_ret handle_ipi(struct tcb *t)
+void handle_ipi()
{
+ struct tcb *t = cur_tcb();
adjust_ipi(t);
/** @todo use rpc stack */
set_return(t, t->callback);
- return get_args(t);
}