From d00e6a08ededb16e5d075ce28d7d797763e25c55 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 11 May 2020 19:14:20 +0200 Subject: Some very small fixes in several files --- src/kernel/tasks/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/tasks/process.c') diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index 0ba3fbe..b86620d 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -21,6 +21,7 @@ extern u32 stack_hold; void scheduler(struct regs *regs) { + serial_put('+'); memcpy(¤t_proc->registers, regs, sizeof(struct regs)); timer_handler(regs); @@ -32,7 +33,6 @@ void scheduler(struct regs *regs) /* debug("Max pid: %d", pid); */ /* debug("Task switch to %s with pid %d", current_proc->name, current_proc->pid); */ - serial_put('+'); while (current_proc->state == PROC_ASLEEP) { current_proc = current_proc->next; -- cgit v1.2.3