Commit Graph

7 Commits

Author SHA1 Message Date
9012ccc49e Remove _userspace and move the idle task to assembly 2022-10-01 12:16:30 +02:00
ef5994e389 Proper userspace program 2022-09-29 20:06:18 +02:00
9716891eff do not fault in the userspace demo >.< 2022-09-29 19:20:31 +02:00
f25014a8ed refine syscalls 2022-09-29 19:17:43 +02:00
6c036dfe99 Modify the userspace task 2022-09-27 19:51:01 +02:00
f1a7138568 User mode (with a few syscalls)
IT ACTUALLY WORKS NOW.

Why wasn't it working? Oh, because I was not setting already present page tables's permissions to user mode. Just a little bug. THAT I SPENT DAYS TRYING TO FIND

Anyways, it works now. Such a relief...
2022-09-25 20:35:05 +02:00
aad9aa1db5 Start the call stack with a null RBP before calling _start 2022-09-18 17:03:29 +02:00