This commit is contained in:
Yu Chen
2022-07-29 00:36:36 +08:00
parent d7ca83486e
commit d64c592e50
47 changed files with 132 additions and 15 deletions

View File

@@ -56,4 +56,7 @@ debug: build
tmux split-window -h "riscv64-unknown-elf-gdb -ex 'file $(KERNEL_ELF)' -ex 'set arch riscv:rv64' -ex 'target remote localhost:1234'" && \
tmux -2 attach-session -d
dbg: build
qemu-system-riscv64 -machine virt -nographic -bios $(BOOTLOADER) -device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY_PA) -s -S
.PHONY: build env kernel clean run-inner