Commit Graph

9 Commits

Author SHA1 Message Date
abcf1b6118 Define PAGE_SIZE as 4096 and use it everywhere instead of using 4096 as a magic number 2022-10-08 14:52:28 +02:00
594d79143e Kernel: enable -Wconversion 2022-10-06 17:13:34 +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
3891d0c52e Rename KernelMemoryManager to MemoryManager
Kind of a more catchy name, isn't it?
2022-09-24 21:45:13 +02:00
c6c2e286e7 Prepare our GDT for userspace 2022-09-21 21:04:15 +02:00
59ab8c016d Load a bare-bones TSS for CPU0 2022-09-17 17:40:35 +02:00
fe672e6a18 Use appropriate logging functions 2022-09-08 17:03:17 +02:00
b4484e951d LOTS MORE LOGGING. which is great, of course. 2022-09-07 19:41:08 +02:00
1b727a66ea Ready. Set. Go! 2022-09-05 16:13:51 +02:00