MesaOS: An original 64-bit OS built from scratch using Rust.
Project details
MesaOS is a unique 64-bit operating system developed from the ground up in Rust. It features a hybrid kernel, Linux driver shim, real-time audio, and full networking capabilities. Designed as an experimental framework, it merges the security of Rust with Linux compatibility, offering distinct functionalities that set it apart from existing systems.
MesaOS is a 64-bit operating system meticulously crafted from scratch using Rust, designed to offer a distinct alternative to existing operating systems such as Linux and BSD. Unlike those, MesaOS features a hybrid kernel that skillfully merges Rust's security with Linux driver compatibility via a shim that exports over 400 kernel symbols.
kmalloc, printk, and pci_*./proc, /sys, epoll, and more.┌──────────────────────────────────────────────────────────┐
│ RING 3 (USER) │
│ ELF Processes · Shell · Pipes · Syscalls Linux/MesaOS │
├──────────────────────────────────────────────────────────┤
│ RING 0 (KERNEL) │
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌────────────────┐ │
│ │ Scheduler │ │ Memory │ │ Linux Shim │ │
│ │ Round-Robin │ │ PMM/VMM │ │ 400+ symbols │ │
│ │ Sleep Queue │ │ Heap/HHDM │ │ workqueues │ │
│ │ Zombies │ │ Paging │ │ timers │ │
│ └──────────────┘ └──────────────┘ └────────────────┘ │
│ │
└──────────────────────────────────────────────────────────┘
MesaOS encourages users to test it in virtual environments to avoid potential issues, especially involving the NVMe driver which modifies partition tables on initialization.
MesaOS combines innovative design with practical applications, making it a valuable project for anyone interested in operating system development, system architecture, and the Rust programming language. Are you interested in this project? Join the community Discord!: https://discord.gg/sEaB7KAwtr
Comments
0Start the conversation
Share the first comment.