MinimalOS NextGen

A capability-based microkernel operating system written from scratch in Rust for x86_64.


What is MinimalOS NextGen? #

MinimalOS NextGen is an educational operating system that prioritizes security and minimalism. The kernel provides exactly six services — everything else runs in userspace:

ServiceDescription
Address space isolationEach process gets its own page tables
Capability enforcementUnforgeable tokens control access to resources
IPC message deliveryOpaque bytes + capability transfers between processes
CPU time multiplexingTickless scheduler with per-core run queues
Interrupt routingIRQs delivered to capability holders
Memory grant transfersZero-copy page sharing via capabilities

Drivers, filesystems, networking, and GUI all run as unprivileged userspace processes communicating through IPC — the kernel never implements policy.

Target Hardware #

The primary target is the HP 15-ay028tu laptop:

The OS also runs in QEMU with OVMF UEFI firmware for development and CI.

Design Philosophy #

Current Status #

📝 Note
MinimalOS NextGen is under active development. Sprints 1–9.5 are complete; Sprint 10 (Wasm Hypervisor) is in progress.
SprintFocusStatus
Sprint 1Boot & Serial Output✅ Complete
Sprint 2Memory Management✅ Complete
Sprint 3Interrupts & Exceptions✅ Complete
Sprint 4Processes & Scheduler✅ Complete
Sprint 5Capabilities & IPC✅ Complete
Sprint 6Syscall Interface & Userspace✅ Complete
Sprint 7–9Init, Delegation & The God Process✅ Complete
Sprint 9.5Reaper & Resource Teardown✅ Complete
Sprint 10Wasm Hypervisor (Ring 3 Allocator)🔄 In Progress

See the full Roadmap for details.

Quick Start #

# Clone and build
git clone https://github.com/nadeeshafdo/MinimalOS.git
cd MinimalOS
make

# Create bootable ISO and run in QEMU
make run

See Getting Started for prerequisites and detailed instructions.