diff options
author | Marvin Borner | 2020-05-09 23:50:24 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-09 23:50:24 +0200 |
commit | c5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 (patch) | |
tree | 173965f614435bb9740d05bbc365aba7b76d7e45 /src/kernel/tasks/userspace.c | |
parent | e350804dc78ab01aaca6aba33792a652535028d9 (diff) |
Interrupt analysis - removed many useless cli/sti
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r-- | src/kernel/tasks/userspace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/tasks/userspace.c b/src/kernel/tasks/userspace.c index aedec2b..c3fc7e2 100644 --- a/src/kernel/tasks/userspace.c +++ b/src/kernel/tasks/userspace.c @@ -21,7 +21,6 @@ u32 spawn_child(struct process *child) void userspace_enter(struct process *proc) { - cli(); proc_bottom = proc; proc->next = NULL; hl_eip = proc->registers.eip; @@ -31,7 +30,7 @@ void userspace_enter(struct process *proc) current_proc = proc; debug("Jumping to userspace!"); - sti(); // TODO: Prevent race conditions in userspace jumping + //sti(); // TODO: Prevent race conditions in userspace jumping jump_userspace(); } |