tint requires more heap space for PDCurses.
authorMarc Jones <marc.jones@se-eng.com>
Wed, 29 Feb 2012 00:18:58 +0000 (17:18 -0700)
committerMarc Jones <marcj303@gmail.com>
Wed, 29 Feb 2012 19:08:41 +0000 (20:08 +0100)
tint was failing with the message "initscr(): Unable to create curscr."
tint uses the initscr() to enable vga windows, which allocates more
heap space with PDCurses than with tinycurses. Expanding the heap from
16KB to 64KB resolves the issue.

Change-Id: I1d38651e2b77f55613969c29614fb3b2be38a00c
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/687
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-by: Marc Jones <marcj303@gmail.com>
payloads/libpayload/lib/libpayload.ldscript

index 830a39081e74659b0b20cbebf106396b0868f60e..4925e8681adf1bf4352dc361bbd61f0db922ab41 100644 (file)
@@ -34,7 +34,7 @@ OUTPUT_ARCH(i386)
 
 ENTRY(_entry)
 
-HEAP_SIZE = 16384;
+HEAP_SIZE = 65536;
 STACK_SIZE = 16384;
 
 SECTIONS