Neptune OS is a general-purpose system built on seL4 that follows the Windows NT architecture. The NT Executive runs in userspace, and device drivers run as isolated user processes.
Overview
Neptune OS is a general-purpose operating system built on the seL4 microkernel. It aims to realize the original Windows NT vision of a pure microkernel design: system components run as isolated user-mode servers instead of sharing kernel space with drivers and the executive.
The NT Executive is reimplemented as a userspace root process that exposes the NT Native API over seL4 IPC. That interface supports environment subsystems such as Win32 and POSIX for familiar application APIs, and driver subsystems that let Windows and Linux kernel device drivers run natively outside a virtual machine as unprivileged userspace processes. A driver fault stays localized and does not take down the rest of the system.
Current builds implement storage and filesystem stacks, session management, a native command shell, ACPI and PCI support, and several ported drivers. Demo videos show unmodified Linux GPU and Ethernet drivers running as regular user processes. Images can be built for 32-bit and 64-bit x86, booted from disk or ISO, and exercised in QEMU or on physical hardware with appropriate CPU and firmware requirements.
Compared with the historical hybrid-kernel Windows NT approach, Neptune keeps the executive and drivers out of kernel space by using seL4’s capability-based IPC. Developers build the system on Linux with LLVM, CMake, and related tooling; documentation covers architecture and driver porting.
Key features
- seL4 microkernel foundation
- Userspace NT Executive root task
- Win32 and POSIX environment subsystems
- Isolated userspace device drivers
- Native Linux and Windows driver ports
- Storage, partition, and FAT filesystem stack
- QEMU and bare-metal amd64 and i386 targets
- Session manager and native command shell
Use cases
- Microkernel OS research and experimentation
- Running Linux kernel drivers in userspace
- Studying NT-style system architecture
- Bare-metal or emulated x86 testing
- Driver isolation and stability evaluation
Does the same job as
NeptuneOS doesn't name these products itself, but its own description shows it does the same job.