From 7ad9c01dad7b1b46eced8290b8b991383d648188 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 1 Jul 2024 23:34:57 +0300 Subject: expand notifications into interrupt handlers + Terminology is still a bit poor, and will still have to write documentation + implement ipis properly --- src/proc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/proc.c') diff --git a/src/proc.c b/src/proc.c index b91c486..7bfab0a 100644 --- a/src/proc.c +++ b/src/proc.c @@ -48,6 +48,8 @@ stat_t init_proc(void *fdt) /* init process has all capabilities */ set_caps(t->caps, 0, CAP_CAPS | CAP_PROC | CAP_CALL | CAP_POWER); + t->notify_id = t->tid; + /* allocate stacks after ELF file to make sure nothing of importance * clashes */ return prepare_proc(t, get_init_base(fdt), 0); -- cgit v1.3