aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/userspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r--src/kernel/tasks/userspace.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kernel/tasks/userspace.c b/src/kernel/tasks/userspace.c
index e9fd2f0..3164965 100644
--- a/src/kernel/tasks/userspace.c
+++ b/src/kernel/tasks/userspace.c
@@ -22,14 +22,11 @@ u32 spawn_child(struct process *child)
void userspace_enter(struct process *proc)
{
proc_bottom = proc;
- proc->next = NULL;
hl_eip = proc->registers.eip;
hl_esp = proc->registers.esp;
paging_switch_directory(proc->cr3);
- current_proc = proc;
-
- debug("Jumping to userspace!");
+ //debug("Jumping to userspace!");
jump_userspace();
}