aboutsummaryrefslogtreecommitdiff
path: root/include/mem-map.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:11:41 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-15 07:58:19 +1000
commitcdd6a60391e8130858ee8f0c68fc9936e3cc285c (patch)
treec714a0eeea72256b471b9230a1c8fdab3b967714 /include/mem-map.h
parente64108422a2c3f605ecabf088d25509073b4cf7d (diff)
downloadskiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.zip
skiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.tar.gz
skiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.tar.bz2
Make skiboot able to be 2MB rather than 1MB
When built with gcov, skiboot is >1MB (closer to 1.5MB) and there were a few assumptions about skiboot being <1MB. The biggest one was that when code got larger, we'd have the sbss section start in the middle of code, so that when we were going to relocate ourselves, we'd only get the first 1MB of skiboot relocated, which excluded the _DYNAMIC section, meaning that relocate() would not find the right sections. We also needed to not start writing over random parts of skiboot. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/mem-map.h')
-rw-r--r--include/mem-map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mem-map.h b/include/mem-map.h
index 5ed45de..2a903d1 100644
--- a/include/mem-map.h
+++ b/include/mem-map.h
@@ -66,8 +66,8 @@
* As of this writing (2014/4/6), we use approc 512K for skiboot
* core and 2M of heap on a 1 socket machine.
*/
-#define HEAP_BASE (SKIBOOT_BASE + 0x00200000)
-#define HEAP_SIZE 0x00c00000
+#define HEAP_BASE (SKIBOOT_BASE + 0x00300000)
+#define HEAP_SIZE 0x00b00000
/* This is our PSI TCE table. It's 16K entries on P7 and 256K
* entries on P8