rCore/os/run.sh
2024-07-25 22:45:05 +08:00

8 lines
213 B
Bash
Executable File

#!/usr/bin/env bash
cargo build --release
qemu-system-riscv64 \
-machine virt \
-nographic \
-bios ../bootloader/rustsbi-qemu.bin \
-device loader,file=target/riscv64gc-unknown-none-elf/release/os