summaryrefslogtreecommitdiffstats
path: root/test_code
diff options
context:
space:
mode:
authorRegia König2022-09-01 11:45:13 +0200
committerRegia König2022-09-01 11:45:13 +0200
commit62225b036c1b7ad5ed389e36783ae4906e14ba94 (patch)
treea1566f0ae83188a4b2fedafbb55f28af2f27aa2c /test_code
parentCreating gdb script (diff)
downloadmemtest86-62225b036c1b7ad5ed389e36783ae4906e14ba94.tar.gz
memtest86-62225b036c1b7ad5ed389e36783ae4906e14ba94.tar.xz
memtest86-62225b036c1b7ad5ed389e36783ae4906e14ba94.zip
Remove memtest_old
Diffstat (limited to 'test_code')
-rw-r--r--test_code/OVMF_VARS.fdbin540672 -> 540672 bytes
-rw-r--r--test_code/memtest_gdbscript4
-rwxr-xr-xtest_code/test.sh7
3 files changed, 6 insertions, 5 deletions
diff --git a/test_code/OVMF_VARS.fd b/test_code/OVMF_VARS.fd
index 6252fc6..4b8f765 100644
--- a/test_code/OVMF_VARS.fd
+++ b/test_code/OVMF_VARS.fd
Binary files differ
diff --git a/test_code/memtest_gdbscript b/test_code/memtest_gdbscript
index 3295919..94a7f53 100644
--- a/test_code/memtest_gdbscript
+++ b/test_code/memtest_gdbscript
@@ -1,4 +1,4 @@
-add-symbol-file ../../memtest86plus_debug/build64/memtest.debug 0x20000
+add-symbol-file ../../memtest86plus_debug/build64/memtest.debug 0x201000
b main
# while loop
@@ -6,3 +6,5 @@ b *0x21414a
# supposed main
b *0x21412a
+
+target remote localhost:1234
diff --git a/test_code/test.sh b/test_code/test.sh
index 1a72eb7..267a46a 100755
--- a/test_code/test.sh
+++ b/test_code/test.sh
@@ -6,9 +6,8 @@ sudo qemu-system-x86_64 -s -bios ./OVMF.fd \
-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 ...
+ -monitor stdio \
+ -D ./qemu_log.txt
+# -d
# --trace "memory_region*"
# -S