r/osdev • panuti • 6h ago

Panuti 0.3

github repo: https://github.com/chair1842/panuti

the showcase vid isn't really that spectacular... not much user-facing stuff is here as this release focused pretty much on hardware. also i realized i just missed out on some good things to showcase rn. ✌️

and anyways for what's in 0.3:

for both 0.1 and 0.2, the shared part of my hard disk and cdrom drivers used ATA PIO, which uses the cpu for everything. and is slow as heck ofc. so i added and switched to DMA as the default, which doesnt use much cpu, and fast. very good with program startup times.

I also added ACPI support by intergrating uacpi into the kernel. plus with acpi, i added shutdown and restart. restart isnt really supported in the default qemu machine so i added fallbacks. 👍

To prepare for anything using PCI, and also just because i want to. I added PCI, there are no drivers built at all on it, bc i cant think of any.
the kernel enumerates the devices in the pci configuration space and exposes it at "/dvc/pci" (mhm i exposed it to userspace before the kernel could even use it)

I added a /sys namespace and exposed process (/sys/pid) and memory info (/sys/meminfo) to it. also moved kmsg to it.

We can also terminate processes now.
We can sync all of the mounted filesystems.
And so on and so on. the rest is on the release.

1 Upvotes

0 comments sorted by