summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2015-05-04 16:54:52 +0200
committerMichael Brown2015-05-04 16:54:52 +0200
commit96cc3178d648c35c4afece6c5a80c4c4569aba3a (patch)
tree0cf3f13f658cbf0d2cbd19dc346b2219b920ad47
parent[dmi] Avoid overrunning the mem_devs[] and md_maps[] arrays (diff)
downloadmemtest86-96cc3178d648c35c4afece6c5a80c4c4569aba3a.tar.gz
memtest86-96cc3178d648c35c4afece6c5a80c4c4569aba3a.tar.xz
memtest86-96cc3178d648c35c4afece6c5a80c4c4569aba3a.zip
[dmi] Allow for 128 DMI-defined memory devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.h b/test.h
index 4a7e375..2b14728 100644
--- a/test.h
+++ b/test.h
@@ -53,7 +53,7 @@ typedef unsigned long ulong;
#define DMI_SEARCH_START 0x0000F000
#define DMI_SEARCH_LENGTH 0x000F0FFF
-#define MAX_DMI_MEMDEVS 16
+#define MAX_DMI_MEMDEVS 128
#define TITLE_WIDTH 28
#define LINE_TITLE 0