swissChili | 56cf817 | 2022-07-30 18:47:48 -0700 | [diff] [blame] | 1 | # -*- tcl -*- |
2 | |||||
3 | srcs boot.s \ | ||||
4 | main.c | ||||
5 | |||||
6 | rule qemu "" { | ||||
7 | shell "qemu-system-riscv32 -M ? | grep virt >/dev/null || exit" | ||||
8 | shell "echo C-a X to exit qemu" | ||||
9 | shell "qemu-system-riscv32 -nographic -smp 4 -machine virt -bios none -kernel kernel.elf" | ||||
10 | } |