diff options
Diffstat (limited to 'qemu.sh')
-rwxr-xr-x | qemu.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/sh + +mkdir -p target/x86_64-unknown-uefi/debug/efi +cp target/x86_64-unknown-uefi/debug/gb.efi target/x86_64-unknown-uefi/debug/efi/gb.efi +qemu-system-x86_64 -drive if=pflash,format=raw,unit=0,file=OVMF_CODE.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd,readonly=on -drive file=fat:rw:target/x86_64-unknown-uefi/debug/efi/ +#cp target/x86_64-unknown-uefi/release/gb.efi .tmp/bootx64.efi +#qemu-system-x86_64 -drive if=pflash,format=raw,unit=0,file=OVMF_CODE.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd,readonly=on -drive file=fat:rw:.tmp |