aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/userspace.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 23:50:24 +0200
committerMarvin Borner2020-05-09 23:50:24 +0200
commitc5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 (patch)
tree173965f614435bb9740d05bbc365aba7b76d7e45 /src/kernel/tasks/userspace.c
parente350804dc78ab01aaca6aba33792a652535028d9 (diff)
Interrupt analysis - removed many useless cli/sti
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r--src/kernel/tasks/userspace.c3
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();
}