summaryrefslogtreecommitdiff
path: root/memdisk
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-04-08 16:53:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-04-08 16:53:49 -0700
commit36ae045f02be2c68e1083de6722908d4edfa8f71 (patch)
tree33814aba8b33c0af5f2184e55d87cf4d42a90c25 /memdisk
parentceee8633c70e5cad45e2398ab489e59941bdacd3 (diff)
downloadsyslinux-36ae045f02be2c68e1083de6722908d4edfa8f71.tar.gz
memdisk: allow up to 1024 e820 descriptors
There are plenty of systems out there with more than 64 e820 descriptors. The hard-coded limit is only used during initialization, so we might as well go nuts.
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/e820func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/e820func.c b/memdisk/e820func.c
index cbacc178..577469b7 100644
--- a/memdisk/e820func.c
+++ b/memdisk/e820func.c
@@ -20,7 +20,7 @@
#include "memdisk.h" /* For memset() */
#include "e820.h"
-#define MAXRANGES 64
+#define MAXRANGES 1024
/* All of memory starts out as one range of "indeterminate" type */
struct e820range ranges[MAXRANGES];
int nranges;