ZGM-OS Project
How to compile
To compile ZGM-OS
- install riscv toolchain
- set toolchain binary directory to your PATH
-
make qemu-build
to copmile -
make qemu-debug
to launch debug
see more usages in Makefile
To compile rustsbi
- 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
Debug Guide
make qemu-build
make qemung-debug
make gdb
Dev Guide
- tag every place where staticly use buddy page with
// STATIC PHYSICAL PAGE ALLOC