summaryrefslogtreecommitdiffstats
path: root/efi_memtest
diff options
context:
space:
mode:
Diffstat (limited to 'efi_memtest')
-rw-r--r--efi_memtest/memtest86+/efi/test.c3
-rw-r--r--efi_memtest/memtest86+/error.c7
2 files changed, 5 insertions, 5 deletions
diff --git a/efi_memtest/memtest86+/efi/test.c b/efi_memtest/memtest86+/efi/test.c
index 8d4eca0..9558582 100644
--- a/efi_memtest/memtest86+/efi/test.c
+++ b/efi_memtest/memtest86+/efi/test.c
@@ -434,9 +434,6 @@ STATIC void addr_tst2_check_segment(ulong* p,
for (; p <= pe; p++) {
-
-
-
if((bad = *p) != (ulong)p) {
ad_err2((ulong *)p, bad);
}
diff --git a/efi_memtest/memtest86+/error.c b/efi_memtest/memtest86+/error.c
index f256e5d..f2e4227 100644
--- a/efi_memtest/memtest86+/error.c
+++ b/efi_memtest/memtest86+/error.c
@@ -111,7 +111,9 @@ void ad_err1(ulong *adr1, ulong *mask, ulong bad, ulong good)
void ad_err2(ulong *adr, ulong bad)
{
- if (logflag) {
+
+ // TODO remove. Just for debugging
+/* if (logflag) {
print_log("ad_err2(): FOUND ERROR IN MEMORY TEST # 2", 41);
}
if (logflag && log_tst2) {
@@ -127,10 +129,11 @@ void ad_err2(ulong *adr, ulong bad)
print_log(log, length);
}
- while(1);
+ while(1);*/
//query_memory_table(); // TODO remove
//print_pmap(); // TODO remove
+
// spin_lock(&barr->mutex);
/*if (logflag) {
print_log("ad_err2(): after spin_lock", 26);