What runs where
See Kernel and Drivers & storage for each side.
Boot flow
1
UEFI firmware
Starts the Limine bootloader from the ISO. OMOS requires UEFI.
2
Limine
Loads the kernel at a randomized address (KASLR) together with the boot archive, and hands over the memory
map, firmware tables and display.
3
Kernel start-up
Sets up the CPU, interrupts, memory, the boot archive, device discovery, timers, the display and the other
cores.
4
Service manager
Loads the six built-in services from the boot archive in a suspended state, creates the IPC channels
between them, gives each one the handles it needs, then resumes them all.
How the parts are connected
- The filesystem service receives file requests from the kernel and passes them to the FAT32 driver.
- FAT32 reads and writes blocks through the virtio block driver.
- The NVMe and AHCI drivers detect their disks, but no filesystem is connected to them yet.
- The virtio input driver reports key events to the serial log.
- Drivers reach their PCI devices through handles the service manager grants, matched by vendor and device ID or by device class.
The boot archive
The ISO contains the kernel and a read-only archive (initrd) mounted at/:
Written in Rust
The kernel, drivers and services are written in Rust without the standard library (no_std), built with the
nightly toolchain for three targets: x86_64, AArch64 and RISC-V 64.