aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks
diff options
context:
space:
mode:
authorMarvin Borner2020-05-11 19:14:20 +0200
committerMarvin Borner2020-05-11 19:14:20 +0200
commitd00e6a08ededb16e5d075ce28d7d797763e25c55 (patch)
tree1ab924d955056c342d21e1632251c4899bf8f11c /src/kernel/tasks
parent6abd515c051b6dcb545e1033ff129aaaf7293917 (diff)
Some very small fixes in several files
Diffstat (limited to 'src/kernel/tasks')
-rw-r--r--src/kernel/tasks/process.c2
1 files changed, 1 insertions, 1 deletions
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(&current_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;