diff options
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 79bc6c8..8fbb4c5 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -44,8 +44,12 @@ void scheduler(struct regs *regs) } else if (((struct proc *)proc_list->head->data)->state == PROC_RUNNING) { current = proc_list->head; } else { - print("TODO: All processes are sleeping!\n"); // TODO! - /* loop(); */ + /* sti(); */ + /* hlt(); */ + /* cli(); */ + //print("TODO: All processes are sleeping!\n"); // TODO! + //loop(); + return; } memcpy(regs, &((struct proc *)current->data)->regs, sizeof(struct regs)); |