fixed offset in notes
[efitest3] / 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
 
@@ -22,12 +25,15 @@ clean:
 
 .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
-       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
-       ndisasm -b 64 -o 0x100000 -e 4096 $< >$@
+       ndisasm -b 64 -o 0x1000 -e 4096 $< >$@
+
+disasm16: bootx64.efi
+       ndisasm -b 16 -o 0x1000 -e 4096 $< >$@