summaryrefslogtreecommitdiff
path: root/kernel/procs.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-25 11:20:08 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-25 11:20:08 -0400
commit228366dcf517266097a77b846efe2c2364a10fa3 (patch)
tree619fba7611f01326a51bf9cb874a8d5459ce51f1 /kernel/procs.c
parentfix physalloc edge case (diff)
downloadcomus-228366dcf517266097a77b846efe2c2364a10fa3.tar.gz
comus-228366dcf517266097a77b846efe2c2364a10fa3.tar.bz2
comus-228366dcf517266097a77b846efe2c2364a10fa3.zip
syscall_return fn
Diffstat (limited to '')
-rw-r--r--kernel/procs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/procs.c b/kernel/procs.c
index 9cde22f..8cd44a4 100644
--- a/kernel/procs.c
+++ b/kernel/procs.c
@@ -472,4 +472,6 @@ void dispatch(void)
// set the process up for success
current_pcb->state = PROC_STATE_RUNNING;
current_pcb->ticks = 3; // ticks per process
+
+ syscall_return();
}