peaCore is a toy kernel implemented by Rust language.
-
qemu-system-riscv64
QEMU emulator version 7.0.0
-
gdb-multiarch
gdb-multiarch (support riscv64 with TUI
mode)
sudo apt-get install gdb-multiarch
-machine virt
: 1 NS16550 compatible UART
run the code in base directory in the project
$ cd os
$ make run
run in gdb-debug mode
$ cd os
$ make debug
-
remove ecall (rustsbi)
-
early-output[UART0: 0x1000_0000]
-
shutdown (sys_exit)
-
cargo test
for robustness
> meet error... (to do)
-
-
Self-made Buddy for heap allocation
Ref: rust-sbi CHANGELOG, rust-sbi-tutorial
-
Timer interrupt: remove from rust-sbi
-
toy File System