diff options
author | Regia König | 2022-08-14 21:32:00 +0200 |
---|---|---|
committer | Regia König | 2022-08-14 21:32:00 +0200 |
commit | 269455db17eb974d7ff6608666b6b68b27336088 (patch) | |
tree | 09ecb31dc8e1453279a25fca257c90242c77fe74 /test_code | |
parent | New script for running qemu and GDB documentation (diff) | |
download | memtest86-269455db17eb974d7ff6608666b6b68b27336088.tar.gz memtest86-269455db17eb974d7ff6608666b6b68b27336088.tar.xz memtest86-269455db17eb974d7ff6608666b6b68b27336088.zip |
test.sh now also has OVMF_VARS and OVMF_CODE
Diffstat (limited to 'test_code')
-rwxr-xr-x | test_code/test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test_code/test.sh b/test_code/test.sh index 5c9ff29..63933a5 100755 --- a/test_code/test.sh +++ b/test_code/test.sh @@ -1,5 +1,8 @@ #!\bin\bash -sudo qemu-system-x86_64 -s -bios ./OVMF.fd -hda fat:rw:hda-contents \ --net none -debugcon file:debug.log -global isa-debugcon.iobase=0x402 -S +sudo qemu-system-x86_64 -s -bios ./OVMF.fd \ + -hda fat:rw:hda-contents \ + -drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \ + -drive if=pflash,format=raw,file=OVMF_VARS.fd \ + -net none -debugcon file:debug.log -global isa-debugcon.iobase=0x402 -S |