diff options
Diffstat (limited to 'src/kernel/tasks')
-rw-r--r-- | src/kernel/tasks/process.c | 2 | ||||
-rw-r--r-- | src/kernel/tasks/userspace.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index 123d2d7..4cb8d8c 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -28,7 +28,7 @@ void scheduler(struct regs *regs) current_proc = root; } - debug("Task switch to %s", current_proc->name); + //debug("Task switch to %s", current_proc->name); while (current_proc->state == PROC_ASLEEP) { current_proc = current_proc->next; diff --git a/src/kernel/tasks/userspace.c b/src/kernel/tasks/userspace.c index 8b88b87..696a9e9 100644 --- a/src/kernel/tasks/userspace.c +++ b/src/kernel/tasks/userspace.c @@ -29,7 +29,7 @@ void userspace_enter(struct process *proc) current_proc = proc; - sti(); + sti(); // TODO: Prevent race conditions in userspace jumping debug("Jumping to userspace!"); jump_userspace(); } |