[coreboot] New patch to review for coreboot: ca83caf tint requires more heap space for PDCurses.

Marc Jones (marcj303@gmail.com) gerrit at coreboot.org
Wed Feb 29 01:33:51 CET 2012


Marc Jones (marcj303 at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/687

-gerrit

commit ca83caf03615a3ea7cbba7a9a19f6c3d63036793
Author: Marc Jones <marc.jones at se-eng.com>
Date:   Tue Feb 28 17:18:58 2012 -0700

    tint requires more heap space for PDCurses.
    
    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 at se-eng.com>
---
 payloads/libpayload/lib/libpayload.ldscript |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript
index 830a390..4925e86 100644
--- a/payloads/libpayload/lib/libpayload.ldscript
+++ b/payloads/libpayload/lib/libpayload.ldscript
@@ -34,7 +34,7 @@ OUTPUT_ARCH(i386)
 
 ENTRY(_entry)
 
-HEAP_SIZE = 16384;
+HEAP_SIZE = 65536;
 STACK_SIZE = 16384;
 
 SECTIONS




More information about the coreboot mailing list