algon-320 / rusty-xv6

Re-implementation of xv6 in Rust (WIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rusty-xv6

Build Test on QEMU

Learn xv6 OS (x86 version) through re-implementing it in Rust (+ inline-assembly and some unstable features).

Requirements

  • Nightly Rust + cargo
  • qemu-system-i386
  • other build tools:
    • make
    • objcopy
    • dd

Build and Run

$ make qemu

Debug

$ make gdb

and on another terminal

$ make gdb-attach

Test

$ make test

Progress

  • Bootloader
  • Startup initializations
  • Scheduler
  • File system
  • System calls
  • User space processes

About

Re-implementation of xv6 in Rust (WIP)


Languages

Language:Rust 97.8%Language:Makefile 1.9%Language:Shell 0.3%