Skip to content
/ zgmos Public

An xv6-like toy kernel, running on riscv, work in progress.

Notifications You must be signed in to change notification settings

D0ot/zgmos

Repository files navigation

ZGM-OS Project

How to compile

To compile ZGM-OS

  1. install riscv toolchain
  2. set toolchain binary directory to your PATH
  3. make qemu-build to copmile
  4. make qemu-debug to launch debug

see more usages in Makefile

To compile rustsbi

  1. intall rustup and cargo
  2. rustup target add riscv-unknown-none-elf
  3. cargo install just
  4. cargo install cargo-binutils
  5. cd ./bootloader/SBI/rustsbi/platform/<platform> and just build

Debug Guide

  1. make qemu-build or make k210-build
  2. make qemung-debug or make k210-debug
  3. make gdb

Dev Guide

  1. tag every place where staticly use buddy page with // STATIC PHYSICAL PAGE ALLOC

About

An xv6-like toy kernel, running on riscv, work in progress.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages