diff options
author | Marvin Borner | 2020-05-12 23:53:02 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-12 23:53:02 +0200 |
commit | 3624343800de35b9058c11186dc02dd20d98aedf (patch) | |
tree | db9e2408a3d440bcc02f4b7e12ef597642fdaafc /src/kernel/tasks/userspace.c | |
parent | 3b16ca421aad772e0f40716e2fc66215d322f7f7 (diff) |
Added scheduler spinlocking
I don't think it's needed though, ints are disabled anyway
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r-- | src/kernel/tasks/userspace.c | 5 |
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(); } |