summaryrefslogtreecommitdiffstats
path: root/test_code/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_code/test.sh')
-rwxr-xr-xtest_code/test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test_code/test.sh b/test_code/test.sh
new file mode 100755
index 0000000..267a46a
--- /dev/null
+++ b/test_code/test.sh
@@ -0,0 +1,13 @@
+
+#!/bin/bash
+
+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 \
+ -monitor stdio \
+ -D ./qemu_log.txt
+# -d
+# --trace "memory_region*"
+# -S