aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/userspace.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 20:59:57 +0200
committerMarvin Borner2020-04-28 20:59:57 +0200
commit5f8b5ce7efb7738eaebad43f9648975788ae19ff (patch)
treeab8fc4d4baa4adb99dc90461df689650acf34cef /src/kernel/tasks/userspace.c
parentbfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (diff)
Fixed userspace entering...
Many other fixes too, but I won't mention them because I don't want to :)
Diffstat (limited to 'src/kernel/tasks/userspace.c')
-rw-r--r--src/kernel/tasks/userspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/tasks/userspace.c b/src/kernel/tasks/userspace.c
index 8b88b87..696a9e9 100644
--- a/src/kernel/tasks/userspace.c
+++ b/src/kernel/tasks/userspace.c
@@ -29,7 +29,7 @@ void userspace_enter(struct process *proc)
current_proc = proc;
- sti();
+ sti(); // TODO: Prevent race conditions in userspace jumping
debug("Jumping to userspace!");
jump_userspace();
}