mem: increase the heap size to 128K
authorH. Peter Anvin <hpa@zytor.com>
Sun, 7 Mar 2010 02:02:35 +0000 (18:02 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 7 Mar 2010 02:02:35 +0000 (18:02 -0800)
Use 128K for the heap, to allow TFTP buffers to be allocated there.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/mem/init.c

index 0fb5377..a916a71 100644 (file)
@@ -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)