From 6ad1b899ed93f8bc110cdec7a722c8740f9f8d66 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 31 Jul 2023 22:24:29 +0300 Subject: start working on irqs --- common/ipi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/ipi.c') 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); } -- cgit v1.3