From 2c78dc983d09e136dd016ae6ecee6b191e033de1 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Sep 2023 00:12:57 +0200 Subject: kernel/intr: accept a message, allow killing processes via intrs --- src/kernel/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index d437b8c..2261f85 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -123,7 +123,7 @@ void proc_tryreap(Proc *dead); void proc_tryintr(Proc *p); /** Send an interupt to a process. */ -void proc_intr(Proc *proc); +void proc_intr(Proc *p, const char *buf, size_t len); /** Switches execution to any running process. */ _Noreturn void proc_switch_any(void); -- cgit v1.2.3