summaryrefslogtreecommitdiff
path: root/kernel/procs.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-25 11:21:20 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-25 11:21:20 -0400
commit5d4601d864c03448e32a5b9e1748ce5010a28c44 (patch)
tree24b33f2b0b050bbaaf7552f4ce53652f7f4acd55 /kernel/procs.c
parentsyscall_return fn (diff)
downloadcomus-5d4601d864c03448e32a5b9e1748ce5010a28c44.tar.gz
comus-5d4601d864c03448e32a5b9e1748ce5010a28c44.tar.bz2
comus-5d4601d864c03448e32a5b9e1748ce5010a28c44.zip
noreturn on dispatch
Diffstat (limited to '')
-rw-r--r--kernel/procs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/procs.c b/kernel/procs.c
index 8cd44a4..f114f52 100644
--- a/kernel/procs.c
+++ b/kernel/procs.c
@@ -461,6 +461,7 @@ void schedule(struct pcb *pcb)
panic("schedule insert fail");
}
+__attribute__((noreturn))
void dispatch(void)
{
assert(current_pcb == NULL, "dispatch: current process is not null");