summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRegina König2021-06-22 14:53:01 +0200
committerRegina König2021-06-22 14:53:01 +0200
commit362fcabf78ff5ca3943ac4abe9f92ac8c9e9eb0d (patch)
tree4035edf9afc1143065c2fd7f5e11bad697f4bea7
parentStop printing pmap and mmap (diff)
downloadmemtest86-362fcabf78ff5ca3943ac4abe9f92ac8c9e9eb0d.tar.gz
memtest86-362fcabf78ff5ca3943ac4abe9f92ac8c9e9eb0d.tar.xz
memtest86-362fcabf78ff5ca3943ac4abe9f92ac8c9e9eb0d.zip
Do not end in a while(1) loop but reboot
-rw-r--r--efi_memtest/.gitignore10
-rw-r--r--efi_memtest/OUTPUT/MemtestEfi.libbin0 -> 2575324 bytes
-rw-r--r--efi_memtest/OUTPUT/MemtestEfi.obj.deps42
-rw-r--r--efi_memtest/memtest86+/efi/test.c3
-rw-r--r--test_code/.gitignore2
5 files changed, 56 insertions, 1 deletions
diff --git a/efi_memtest/.gitignore b/efi_memtest/.gitignore
new file mode 100644
index 0000000..d25f542
--- /dev/null
+++ b/efi_memtest/.gitignore
@@ -0,0 +1,10 @@
+*.o
+*.dll
+*.txt
+*.map
+*.obj
+*.efi
+AutoGen.obj
+memtest86+/efi/Include/static_library_files*
+memtest86+/efi/Include/AutoGen (copy).*
+
diff --git a/efi_memtest/OUTPUT/MemtestEfi.lib b/efi_memtest/OUTPUT/MemtestEfi.lib
new file mode 100644
index 0000000..8f8a595
--- /dev/null
+++ b/efi_memtest/OUTPUT/MemtestEfi.lib
Binary files differ
diff --git a/efi_memtest/OUTPUT/MemtestEfi.obj.deps b/efi_memtest/OUTPUT/MemtestEfi.obj.deps
new file mode 100644
index 0000000..c120fa2
--- /dev/null
+++ b/efi_memtest/OUTPUT/MemtestEfi.obj.deps
@@ -0,0 +1,42 @@
+MemtestEfi.obj: MemtestEfi.c memtest86+/efi/Include/Efi_Defs.h \
+ memtest86+/efi/Include/Uefi.h memtest86+/efi/Include/Uefi/UefiBaseType.h \
+ memtest86+/efi/Include/Base.h memtest86+/efi/Include/ProcessorBind.h \
+ memtest86+/efi/Include/Uefi/UefiSpec.h \
+ memtest86+/efi/Include/Uefi/UefiMultiPhase.h \
+ memtest86+/efi/Include/Guid/WinCertificate.h \
+ memtest86+/efi/Include/Protocol/DevicePath.h \
+ memtest86+/efi/Include/IndustryStandard/Bluetooth.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi60.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi51.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi50.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi40.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi30.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi20.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi10.h \
+ memtest86+/efi/Include/IndustryStandard/AcpiAml.h \
+ memtest86+/efi/Include/Protocol/SimpleTextIn.h \
+ memtest86+/efi/Include/Protocol/SimpleTextInEx.h \
+ memtest86+/efi/Include/Protocol/SimpleTextOut.h \
+ memtest86+/efi/Include/Uefi/UefiPxe.h \
+ memtest86+/efi/Include/Uefi/UefiGpt.h \
+ memtest86+/efi/Include/Uefi/UefiInternalFormRepresentation.h \
+ memtest86+/efi/Include/Uefi.h memtest86+/efi/Include/Library/UefiLib.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi63.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi62.h \
+ memtest86+/efi/Include/IndustryStandard/Acpi61.h \
+ memtest86+/efi/Include/Protocol/DriverBinding.h \
+ memtest86+/efi/Include/Protocol/DriverConfiguration.h \
+ memtest86+/efi/Include/Protocol/DriverConfiguration2.h \
+ memtest86+/efi/Include/Protocol/ComponentName.h \
+ memtest86+/efi/Include/Protocol/ComponentName2.h \
+ memtest86+/efi/Include/Protocol/DriverDiagnostics.h \
+ memtest86+/efi/Include/Protocol/DriverDiagnostics2.h \
+ memtest86+/efi/Include/Protocol/GraphicsOutput.h \
+ memtest86+/efi/Include/Protocol/SimpleFileSystem.h \
+ memtest86+/efi/Include/Library/BaseLib.h \
+ memtest86+/efi/Include/Library/UefiApplicationEntryPoint.h \
+ memtest86+/efi/Include/Guid/FileSystemInfo.h \
+ memtest86+/efi/Include/Efi_Defs_GUID.h \
+ memtest86+/efi/Include/Protocol/LoadedImage.h main.h memtest86+/logger.h \
+ memtest86+/efi/Include/stdin.h memtest86+/display.h logger_config.h
diff --git a/efi_memtest/memtest86+/efi/test.c b/efi_memtest/memtest86+/efi/test.c
index badba42..43e25d9 100644
--- a/efi_memtest/memtest86+/efi/test.c
+++ b/efi_memtest/memtest86+/efi/test.c
@@ -358,7 +358,8 @@ STATIC void addr_tst2_init_segment(ulong* p,
print_log(log, length);
}
- while(1);
+ extern void reboot(); // TODO remove
+ reboot(); // TODO remove
}
round++;
}
diff --git a/test_code/.gitignore b/test_code/.gitignore
new file mode 100644
index 0000000..70f9ad9
--- /dev/null
+++ b/test_code/.gitignore
@@ -0,0 +1,2 @@
+hda-contents/
+old_logs/