From 43184e40b14a5e41383ffb053e7c69c93ff81036 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 22:16:09 +0200 Subject: Some debugging and fixing Still didn't fix the bugs --- src/kernel/tasks/userspace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/tasks/userspace.c') 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 +} -- cgit v1.2.3