diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-05-21 11:44:23 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-21 12:46:28 +1000 |
commit | 7c9b3eb3c149843a27b9674e66b0227cf289a29a (patch) | |
tree | f31e01bce51847da804e99b8c110204f9e5e7b29 /include/mem-map.h | |
parent | ec52b670ddf57eb6d707c164aba2f01baf2d457b (diff) | |
download | skiboot-7c9b3eb3c149843a27b9674e66b0227cf289a29a.zip skiboot-7c9b3eb3c149843a27b9674e66b0227cf289a29a.tar.gz skiboot-7c9b3eb3c149843a27b9674e66b0227cf289a29a.tar.bz2 |
With new GCC comes larger GCOV binaries
So we need to change our heap size to make more room for data/bss
without having to change where the console is or have more fun moving
things about.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/mem-map.h')
-rw-r--r-- | include/mem-map.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/mem-map.h b/include/mem-map.h index 3e30d9b..fa5cacb 100644 --- a/include/mem-map.h +++ b/include/mem-map.h @@ -59,8 +59,8 @@ */ #define CPU_CTL_OFF (SPIRA_OFF + 0x1800) -/* We keep a gap of 2M for skiboot text & bss for now. We will - * then we have our heap which goes up to base + 14M (so 12M for +/* We keep a gap of 5M for skiboot text & bss for now. We will + * then we have our heap which goes up to base + 14M (so 11M for * now, though we can certainly reduce that a lot). * * Ideally, we should fix the heap end and use _end to basically @@ -71,14 +71,16 @@ * regions statically in mem_region.c, but still on the list of * things to improve. * - * As of this writing (2014/4/6), we use approc 512K for skiboot + * As of A Long Time Ago (2014/4/6), we used approc 512K for skiboot * core and 2M of heap on a 1 socket machine. * - * As of 2015/5/7 we use approx 800k for skiboot, 500k HEAP for - * mambo boot. + * As of still a Long Time Ago (2015/5/7) we used approx 800k for skiboot, + * 500k HEAP for mambo boot. + * + * As of mid-2019, a 2 socket Romulus uses ~4MB heap. */ -#define HEAP_BASE (SKIBOOT_BASE + 0x00400000) -#define HEAP_SIZE 0x00c00000 +#define HEAP_BASE (SKIBOOT_BASE + 0x00500000) +#define HEAP_SIZE 0x00b00000 /* This is the location of our console buffer at base + 16M */ #define INMEM_CON_START (SKIBOOT_BASE + 0x01000000) |