projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceee863
)
memdisk: allow up to 1024 e820 descriptors
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 8 Apr 2008 23:53:49 +0000
(16:53 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 8 Apr 2008 23:53:49 +0000
(16:53 -0700)
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.
memdisk/e820func.c
patch
|
blob
|
history
diff --git
a/memdisk/e820func.c
b/memdisk/e820func.c
index
cbacc17
..
577469b
100644
(file)
--- a/
memdisk/e820func.c
+++ b/
memdisk/e820func.c
@@
-20,7
+20,7
@@
#include "memdisk.h" /* For memset() */
#include "e820.h"
-#define MAXRANGES
6
4
+#define MAXRANGES
102
4
/* All of memory starts out as one range of "indeterminate" type */
struct e820range ranges[MAXRANGES];
int nranges;