Skip to content

Latest commit

 

History

268 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mos — A RISC-V / x86_64 OS Kernel written in Rust

A from-scratch operating system kernel written in Rust (no_std, no_main), targeting x86_64 with UEFI boot.

Features

  • UEFI boot via bootloader-api (QEMU + OVMF support)
  • Physical frame management & kernel heap allocation
  • Interrupt handling (APIC, legacy fallback)
  • PCI bus probing + virtio drivers
  • Framebuffer console & window rendering (RGBA pixel buffer)
  • VFS / devfs / fifo & basic syscall layer
  • Task scheduling & ECS-based subsystems

Requirements

rustup toolchain install nightly
rustup component add llvm-tools-preview
rustup target add x86_64-unknown-none
  • qemu-system-x86_64 emulator
  • clang (for C sources via cc build script)

Build & Run

cargo build
# run in QEMU with UEFI firmware (OVMF)

This repository is part of a larger workspace; see mos-projects for the full workspace layout (fs, allocators, runtime crates, etc.).

License

MIT

About

an easy os impl by rust

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages