mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
i386-ieee1275: Increase maximum heap size to accomodate highres graphi tests
This commit is contained in:
1 parent
47e67d809c
commit
7c6c2ad42c
1 file changed
+8
@@ -46,11 +46,19 @@
|
|||||||
#define HEAP_MIN_SIZE (unsigned long) (2 * 1024 * 1024)
|
#define HEAP_MIN_SIZE (unsigned long) (2 * 1024 * 1024)
|
||||||
|
|
||||||
/* The maximum heap size we're going to claim */
|
/* 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)
|
#define HEAP_MAX_SIZE (unsigned long) (32 * 1024 * 1024)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* If possible, we will avoid claiming heap above this address, because it
|
/* If possible, we will avoid claiming heap above this address, because it
|
||||||
seems to cause relocation problems with OSes that link at 4 MiB */
|
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)
|
#define HEAP_MAX_ADDR (unsigned long) (32 * 1024 * 1024)
|
||||||
|
#endif
|
||||||
|
|
||||||
extern char _start[];
|
extern char _start[];
|
||||||
extern char _end[];
|
extern char _end[];
|
||||||
|
|||||||
Reference in new issue
Block a user