-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
30 lines (20 loc) · 729 Bytes
/
Copy pathjustfile
File metadata and controls
30 lines (20 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
bin := "target/riscv64gc-unknown-none-elf/release/pathos"
dump:
@ cargo objdump --quiet --release --bin pathos -- --disassemble-all \
--no-show-raw-insn -M no-aliases
run:
@ qemu-system-riscv64 --machine virt --smp 1 --cpu rv64 --serial stdio --monitor none \
--bios {{bin}} --nographic \
-d guest_errors,unimp -D log.txt -m 128M
debug:
@ qemu-system-riscv64 -s -S --machine virt --smp 1 --cpu rv64 --serial stdio --monitor none \
--bios {{bin}} --nographic \
-d guest_errors,unimp -D log.txt -m 128M
gdb:
@ gdb-multiarch --init-command cmds.gdb
build:
@ cargo build --release
clean:
@ cargo clean
test:
@ cargo test --target x86_64-unknown-linux-gnu