aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/userspace.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 22:16:09 +0200
committerMarvin Borner2020-05-07 22:16:09 +0200
commit43184e40b14a5e41383ffb053e7c69c93ff81036 (patch)
tree54dd707cd997f1a5483d03ef6f7e6320b07227ac /src/kernel/tasks/userspace.c
parent4286b14839c0c4ec016d816e426660f6685ae349 (diff)
Some debugging and fixing
Still didn't fix the bugs
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r--src/kernel/tasks/userspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/userspace.c b/src/kernel/tasks/userspace.c
index 9457b7e..77392a1 100644
--- a/src/kernel/tasks/userspace.c
+++ b/src/kernel/tasks/userspace.c
@@ -29,8 +29,8 @@ void userspace_enter(struct process *proc)
current_proc = proc;
- sti(); // TODO: Prevent race conditions in userspace jumping
debug("Jumping to userspace!");
+ sti(); // TODO: Prevent race conditions in userspace jumping
jump_userspace();
}
@@ -63,4 +63,4 @@ u32 single_exit(struct regs *regs)
paging_switch_directory(proc_bottom->cr3);
return hold;
-} \ No newline at end of file
+}