Writing a RISC-V Emulator in Rust
This is the book for writing a 64-bit RISC-V emulator from scratch in Rust. The book shows you how to implement an emulator step by step. You can run xv6, a simple Unix-like OS, in your emulator.
Tool
This book is written by mdBook.
Converts markdown files under src/
directory to html files under book
directory.
$ mdbook build
Watchs markdown files to rebuild on every change.
$ mdbook watch
Serves the book at http://localhost:3000
.
$ mdbook serve
Deploy
GitHub Actions with peaceiris/actions-gh-pages deploys the page to GitHub pages.