Jump to user mode.

This instantly creates a page fault as we always map pages with ring 0
permissions.
This commit is contained in:
Drew Galbraith 2023-05-29 12:44:26 -07:00
parent aefb4f082b
commit 7184f527a0
7 changed files with 37 additions and 7 deletions

View file

@ -11,6 +11,7 @@ add_executable(zion
memory/paging_util.cpp
memory/physical_memory.cpp
scheduler/context_switch.s
scheduler/jump_user_space.s
scheduler/process.cpp
scheduler/scheduler.cpp
scheduler/thread.cpp