From 01af87cd8953de0a0c9056dc45d0c11232ba5849 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 24 Aug 2017 16:52:23 +1000 Subject: bump skiboot size from 3 to 4MB, reduce heap by 1MB GCOV enabled builds with modern GCC are getting bigger. At some point we're going to have to go do something sensible, but even on our larger systems we're not *that* close to running out of heap that this would be a problem. HEAP is now 12MB rather than 13MB. Signed-off-by: Stewart Smith --- include/mem-map.h | 4 ++-- skiboot.lds.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mem-map.h b/include/mem-map.h index 2bcaf07a..05733518 100644 --- a/include/mem-map.h +++ b/include/mem-map.h @@ -72,8 +72,8 @@ * As of 2015/5/7 we use approx 800k for skiboot, 500k HEAP for * mambo boot. */ -#define HEAP_BASE (SKIBOOT_BASE + 0x00300000) -#define HEAP_SIZE 0x00d00000 +#define HEAP_BASE (SKIBOOT_BASE + 0x00400000) +#define HEAP_SIZE 0x00c00000 /* This is the location of our console buffer at base + 16M */ #define INMEM_CON_START (SKIBOOT_BASE + 0x01000000) diff --git a/skiboot.lds.S b/skiboot.lds.S index 4a5dabe3..7f71d5cd 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -145,8 +145,8 @@ SECTIONS __sym_map_end = . ; } - /* We locate the BSS at 2M to leave room for the symbol map */ - . = 0x200000; + /* We locate the BSS at 3M to leave room for the symbol map */ + . = 0x300000; _sbss = .; .bss : { -- cgit v1.2.1