Operating system · Rust · x86-64

A modern operatingsystem, from scratch.

NeoDOS is a 64-bit OS with a monolithic kernel and microkernel-style isolated drivers. It boots on UEFI, scales to 16 CPUs, and treats every resource —processes, files, devices— as an object with a name, handles and ACLs.

v0.52997 testsABI v8MIT
neodos — qemu · serial
NeoDOS v0.52 · x86-64 · UEFI[ ok ] bootloader.efi → kernel.elf[ ok ] Ob manager · VFS · NeoFS v2[ ok ] SMP 16 CPUs · APIC 1 kHz[ ok ] 997 kernel tests passed[ ok ] NeoInit PID 1 · NeoShell Ring 3NeoShell C:\>
Current version
v0.52
Kernel tests
997passing
Boot phases
31
SMP
16CPUs
What is NeoDOS

Not another Linux. Not another Windows.

It is a laboratory of ideas where architectural decisions are explicit, traceable and debatable. A real operating system —multiprocessing, SMP, isolated drivers, its own filesystem— not a teaching toy.

Explicit over magic

Every memory allocation, context switch and state transition is traceable in the code. No “scheduler magic”, no “memory manager magic”.

Layers, not piles

HAL is HAL. VFS is VFS. Scheduler is scheduler. Dependencies only flow downwards and are enforced by neodev check-deps.

Fail fast, fail clearly

When something goes wrong, the system halts and identifies the component, the error and the likely cause. No generic panics.

Architecture

From firmware to Ring 3 in five layers

The Object Manager is the central abstraction: syscalls, handles, security and the namespace revolve around objects. Anything that can live in Ring 3 does.

UEFIOVMF · GOP
Bootloaderbootloader.efi
Kernel31 phases
NeoInitPID 1
NeoShellRing 3

Arch (x86_64)

GDT, IDT, 4-level paging and the SMP trampoline. All of the system’s assembly lives here.

HAL v0.4

Raw/safe split, 26 extern "C" primitives and assembly confined behind a stable interface.

System Services

Scheduler, memory, Object Manager, VFS, IPC/pipes, async IRP, Event Bus and NT6 security.

NEM Driver Runtime

8-state certification pipeline, 12 capabilities, X4 isolation and a versioned ABI.

Syscall SSDT

RAX 0–99, a 256-slot table, O(1) dispatch and a permission table separate from the handlers.

Current state

A real system, in active development

The kernel already covers UEFI boot, SMP, object management, ACL security, a TCP/IP stack and its own copy-on-write filesystem.

Kernel
v0.52 · 997 tests · 31 boot phases
Syscalls
SSDT RAX 0–99 · 256 slots · ABI v8
SMP
16 CPUs · INIT-SIPI-SIPI · IPI (reschedule, TLB shootdown)
Drivers
7 standalone NEM drivers + 5 reference · certification and capabilities
Memory
Buddy + slab with per-CPU cache · demand paging · mmap
Security
SID, Token, ACL, ACE and SeAccessCheck — the NT6 model
Filesystem
NeoFS v2, VFS and IoStack · FAT32 for the ESP · page cache
Userland
NeoShell Ring 3 · NXL v2 PIE libraries · neocurl over HTTPS

“Explicit over magic. Layers, not piles. Fail fast, fail clearly. Isolated drivers, small kernel.”

NeoDOS design philosophy
Quick start

From zero to NeoShell in three commands

NeoDev is the external development tool. It builds the kernel, generates the GPT image, boots QEMU with OVMF and runs the test suite.

  • Rust nightly and the x86_64-unknown-none and x86_64-unknown-uefi targets
  • QEMU, OVMF and util-linux (sfdisk)
  • GDB if you want to step through the kernel
bash — install and boot
# 1. Install the development tool
cargo install --git https://github.com/NeoDOS-Project/NeoDev.git

# 2. Build kernel, bootloader, userland and the GPT image
neodev build --image

# 3. Boot QEMU with OVMF and GDB on :1234
neodev run

# Automated test suite (997/997)
neodev test
Open source

Code is truth.

Documentation explains the design; code proves it. Explore the kernel, follow the roadmap or open an issue with your idea.