From: H. Peter Anvin Date: Tue, 8 Apr 2008 23:53:49 +0000 (-0700) Subject: memdisk: allow up to 1024 e820 descriptors X-Git-Tag: syslinux-3.63-pre4~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36ae045f02be2c68e1083de6722908d4edfa8f71;p=platform%2Fupstream%2Fsyslinux.git 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. --- diff --git a/memdisk/e820func.c b/memdisk/e820func.c index cbacc17..577469b 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;