SamTebbs33 / jaq

A hobby x86 kernel. Superseded by https://github.com/ZystemOS/pluto
https://github.com/ZystemOS/pluto
GNU General Public License v3.0
3 stars 1 forks source link

User mode #4

Open SamTebbs33 opened 6 years ago

SamTebbs33 commented 6 years ago

Implement switching to and from user-mode. Switching to user mode should happen before executing a task. Switching from user mode occurs during interrupts and syscalls.

This will require changes to the multitasking code, including changing the current page directory to one with the user memory mapped in.

OSDev page

SamTebbs33 commented 5 years ago

I've finally figured and solved the many faults that occurred when switching to/from user tasks, now moving onto paging.