Reference implementation for the book "Writing a RISC-V Emulator in Rust".
Reference implementation of the book, Writing a RISC-V Emulator from Scratch in 10 Steps. The goal of this code and the book is runnning xv6 in our emulator.
This is based on original RISC-V emulator rvemu in Rust.
$ cd step10 // move to the step10 directory
$ cargo run ./xv6-kernel.bin ./xv6-fs.img
Each step has a diff
file generated by diff -x target -r step<previous> step<current> > diff_<previous>_<current>
.