projects
/
efitest3
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed offset in notes
[efitest3]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a2b0638
..
11d2bd2
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,3
+1,6
@@
+.PHONY: all
+all: disk.img
+
bootx64.efi: efitest.bin hdr.asm
nasm -o $@ -f bin hdr.asm
bootx64.efi: efitest.bin hdr.asm
nasm -o $@ -f bin hdr.asm
@@
-22,12
+25,15
@@
clean:
.PHONY: run
run: disk.img
.PHONY: run
run: disk.img
- qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -hda $<
+ qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -hda $< -net none -serial stdio
.PHONY: debug
debug: disk.img
.PHONY: debug
debug: disk.img
- qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -S -s -hda $<
+ qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -S -s -hda $< -net none -serial stdio
disasm: bootx64.efi
disasm: bootx64.efi
- ndisasm -b 64 -o 0x100000 -e 4096 $< >$@
+ ndisasm -b 64 -o 0x1000 -e 4096 $< >$@
+
+disasm16: bootx64.efi
+ ndisasm -b 16 -o 0x1000 -e 4096 $< >$@