[syslinux:pathbased] mem: increase the heap size to 128K

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sat Mar 6 18:12:08 PST 2010


Commit-ID:  8c9d059b1584310dcbc39f3bc81d4c8401f6e78b
Gitweb:     http://syslinux.zytor.com/commit/8c9d059b1584310dcbc39f3bc81d4c8401f6e78b
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sat, 6 Mar 2010 18:02:35 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sat, 6 Mar 2010 18:02:35 -0800

mem: increase the heap size to 128K

Use 128K for the heap, to allow TFTP buffers to be allocated there.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/mem/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/mem/init.c b/core/mem/init.c
index 0fb5377..a916a71 100644
--- a/core/mem/init.c
+++ b/core/mem/init.c
@@ -5,7 +5,7 @@
 
 struct free_arena_header __malloc_head[NHEAP];
 
-static char main_heap[65536] __aligned(16);
+static char main_heap[128 << 10] __aligned(16);
 extern char __lowmem_heap[];
 
 void mem_init(void)



More information about the Syslinux-commits mailing list