- install riscv toolchain
- set toolchain binary directory to your PATH
make qemu-build
to copmilemake qemu-debug
to launch debug
see more usages in Makefile
- intall rustup and cargo
rustup target add riscv-unknown-none-elf
cargo install just
cargo install cargo-binutils
cd ./bootloader/SBI/rustsbi/platform/<platform>
andjust build
make qemu-build
make qemung-debug
make gdb
- tag every place where staticly use buddy page with
// STATIC PHYSICAL PAGE ALLOC