summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--efi_memtest/memtest86+/efi/test.c4
-rwxr-xr-xtest_code/run.sh8
2 files changed, 9 insertions, 3 deletions
diff --git a/efi_memtest/memtest86+/efi/test.c b/efi_memtest/memtest86+/efi/test.c
index e3b4f6a..aefb2cb 100644
--- a/efi_memtest/memtest86+/efi/test.c
+++ b/efi_memtest/memtest86+/efi/test.c
@@ -581,8 +581,8 @@ void addr_tst2(int me)
/* if (logflag && log_tst2) {
print_log("addr_tst2(): starting addr_tst2_check_segment", 45);
}*/
- if(1) print_log("HAHAHA", 6);
- //if(1) cprint(1, 1, "#################");
+ //if(1) print_log("HAHAHA", 6);
+ if(1) cprint(1, 1, "#################");
/* if (logflag && log_tst2 && addr_written) {
char log[35] = "content of p = ";
diff --git a/test_code/run.sh b/test_code/run.sh
index b2f6f30..b850537 100755
--- a/test_code/run.sh
+++ b/test_code/run.sh
@@ -3,7 +3,13 @@
#(cd hda-contents; rm memtest_log; echo -n -e '\x00' >> memtest_log)
-sudo kvm -bios OVMF.fd --drive file=fat:rw:hda-contents,index=0,media=disk,format=raw --drive file=fat:rw:hdb-contents,index=1,media=disk,format=raw -net none -cpu host
+# sudo kvm -bios OVMF.fd -serial tcp::666,server -s \
+# --drive file=fat:rw:hda-contents,index=0,media=disk,format=raw \
+# --drive file=fat:rw:hdb-contents,index=1,media=disk,format=raw -net none -cpu host
+
+sudo kvm -bios OVMF.fd -s -S \
+ --drive file=fat:rw:hda-contents,index=0,media=disk,format=raw -net none -cpu host
+
#-drive file=vm-disk-2G,format=raw,index=3,media=disk
#-nographic
#-no-reboot