From dcd28d5246eec562c195fba07c7bd4ce7b69c94b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 9 Jan 2021 14:06:32 +0100 Subject: Started new heap implementation (not working yet) --- kernel/features/proc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/features') diff --git a/kernel/features/proc.c b/kernel/features/proc.c index d76312c..c0216bc 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -142,6 +142,8 @@ void proc_exit(struct proc *proc, int status) printf("Process %s exited with status %d\n", proc->name, status); quantum = 0; // TODO: Add quantum to each process struct? + sti(); + hlt(); } void proc_yield(struct regs *r) -- cgit v1.2.3