SlopOS

Architecture, ABI, verification, and developer documentation for SlopOS

What is SlopOS?

AI agents wrote SlopOS, an x86_64 operating system built from scratch in Rust. The name owns what that usually produces. An agent will tell you its code is correct, which is worth nothing, so the build proves it instead: one crate, slopos-ostd, holds every line of unsafe, and Verus checks the invariants underneath it. It boots under QEMU and on a real laptop.

The SlopOS desktop running on a Lenovo laptop, showing the terminal, file manager, system monitor and image viewer

Current Shape

AreaCurrent implementation
BootLimine + OVMF, Rust boot pipeline, per-CPU GDT/TSS, SYSCALL MSRs
PrivilegeRing 0 kernel, Ring 3 user tasks, TSS/RSP0 and per-task syscall stacks
SchedulingPreemptive SMP scheduler, fused task state, WaitQueue/EventBus blocking
MemoryOSTD frames, slab and heap, process VM, demand paging, COW, memfd
InterruptsLAPIC, IOAPIC, MSI/MSI-X, HPET clock, LAPIC scheduler timer
StorageVirtIO block, ext2, ramfs, devfs, VFS file operations
NetworkingVirtIO net, IPv4, ARP, ICMP, UDP, TCP, DNS, AF_UNIX sockets
Async edgeSlopRing plus slopos-rt and slopfut in userland
Userlandlibc layer, shell, compositor, terminal, windowing, appkit
Verificationslopos-ostd trusted core, Verus proofs, KernMiri, framekernel gates

SlopOS has sharp edges. These pages say what works today, which parts we made strange on purpose, and which details belong to development notes.

Documentation Map

On this page