ComicalCache/rOSt

Implement syscall return for kernel-mode processes

Closed this issue · 0 comments

Currently the syscall is returning using the sysretq instruction, which is fine and all, but if we want to support kernel processes (for drivers etc.) we need to use iretq instead, because sysretq changes the privilege mode to Ring3.