]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
i386-ieee1275: Increase maximum heap size to accomodate highres graphi tests
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 8 Jan 2016 15:22:19 +0000 (16:22 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Jan 2016 09:12:43 +0000 (10:12 +0100)
grub-core/kern/ieee1275/init.c

index 4303509f20a68a54d7a745b6ed4b505e879f4fcc..12590225eca1483066ea5e7b7443cea3198f6d9b 100644 (file)
 #define HEAP_MIN_SIZE          (unsigned long) (2 * 1024 * 1024)
 
 /* The maximum heap size we're going to claim */
+#ifdef __i386__
+#define HEAP_MAX_SIZE          (unsigned long) (64 * 1024 * 1024)
+#else
 #define HEAP_MAX_SIZE          (unsigned long) (32 * 1024 * 1024)
+#endif
 
 /* If possible, we will avoid claiming heap above this address, because it
    seems to cause relocation problems with OSes that link at 4 MiB */
+#ifdef __i386__
+#define HEAP_MAX_ADDR          (unsigned long) (64 * 1024 * 1024)
+#else
 #define HEAP_MAX_ADDR          (unsigned long) (32 * 1024 * 1024)
+#endif
 
 extern char _start[];
 extern char _end[];