summaryrefslogtreecommitdiffstats
path: root/efi_memtest
diff options
context:
space:
mode:
authorRegina König2021-07-30 20:50:50 +0200
committerRegina König2021-07-30 20:50:50 +0200
commit376d81861e28c0b7d1dd874e818be6a5ff56c32d (patch)
tree22c8d5a3db1cc32c90337d7bacdd6def63b6ae35 /efi_memtest
parentOutcomment code for debugging (diff)
downloadmemtest86-376d81861e28c0b7d1dd874e818be6a5ff56c32d.tar.gz
memtest86-376d81861e28c0b7d1dd874e818be6a5ff56c32d.tar.xz
memtest86-376d81861e28c0b7d1dd874e818be6a5ff56c32d.zip
Outcomment debug code which lets it stop after a found error
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);