/toy-os

Kernel written in Rust/RISC-V for personal educational purpose

Primary LanguageRustGNU General Public License v3.0GPL-3.0

toy-os

Toy project around an kernel written in Rust/RISC-V

Feature

  • Booting
  • Memory management
  • Process management
  • User space
  • Shell
  • File system
  • Drivers (thanks to virtio)
    • UART
    • Block device
    • Network
toy_os.mp4

Run the os

You should have QEMU and rust tools (rustup, cargo, ...) installed before trying to compile/run anything.

$ git clone git@github.com:aaalloc/toy-os.git
$ cd toy-os/os
$ make run
# with log
$ LOG=INFO make run

Ressources

Mainly used https://github.com/rcore-os/rCore-Tutorial-v3

and