u/AlectronikLabs

▲ 27 r/osdev

https://preview.redd.it/e7q4pvmeaczg1.png?width=2066&format=png&auto=webp&s=55e5dead0baec17983566e2bcdb0534bac8c7dfe

This is my first real project so I am quite anxious to share it. Written during the past weeks after years of dabbling. It's in D language utilizing the object system and quite messy still but it now loads an ELF binary and executes it in user space. Next will be a clean up and work towards a driver framework, as I want it to become a microkernel.

reddit.com
u/AlectronikLabs — 9 days ago
▲ 8 r/osdev

How do you manage your CR3/page directories? Every process has its own but the kernel space needs to be shared, and while the initial initialization is copied over from the kernel's PD so will it become stale after a context switch. I think the kernel is not supposed to update EVERY processes's page directory when it maps a new kernel level page. So there is the global page flag but it did not work when I tested.

Hope you do even understand what I mean.

reddit.com
u/AlectronikLabs — 18 days ago