mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 09:26:26 +04:00
10 lines
417 B
Bash
Executable File
10 lines
417 B
Bash
Executable File
qemu-system-riscv64 -M 128m -machine virt \
|
|
-bios ../bootloader/rustsbi-qemu.bin \
|
|
-device loader,file=target/riscv64gc-unknown-none-elf/release/os.bin,addr=0x80200000 \
|
|
-drive file=../user/target/riscv64gc-unknown-none-elf/release/fs.img,if=none,format=raw,id=x0 \
|
|
-device virtio-blk-device,drive=x0 \
|
|
-device virtio-gpu-device \
|
|
-device virtio-keyboard-device \
|
|
-device virtio-mouse-device \
|
|
-serial stdio
|