diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2017-07-27 00:11:34 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-31 09:52:13 -0400 |
commit | b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5 (patch) | |
tree | d5079cfe38255660e0fd9e0c893fefa87e9e443b /src/include/kernel | |
parent | 68cc9f79fbafd80ded80a0ee66bf7eab5e85d6b9 (diff) | |
download | talos-hostboot-b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5.tar.gz talos-hostboot-b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5.zip |
Increase max hostboot memory to 48 MB
- Extends hostboot memory from 32 to 48 MB to handle large code loads
- Dump 48 MB in hostboot dump script
- Support 48 MB hostboot size in debug framework
Change-Id: I3e64e85a7e2455bc4add2f2db9b48f57db433c7d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43735
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r-- | src/include/kernel/basesegment.H | 6 | ||||
-rw-r--r-- | src/include/kernel/memstate.H | 4 | ||||
-rw-r--r-- | src/include/kernel/vmmmgr.H | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/include/kernel/basesegment.H b/src/include/kernel/basesegment.H index 7d5e5450a..7629473f0 100644 --- a/src/include/kernel/basesegment.H +++ b/src/include/kernel/basesegment.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -136,7 +136,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ static int mmExtend(void); @@ -206,7 +206,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ int _mmExtend(void); diff --git a/src/include/kernel/memstate.H b/src/include/kernel/memstate.H index 84acf3b4e..a01fdcc32 100644 --- a/src/include/kernel/memstate.H +++ b/src/include/kernel/memstate.H @@ -45,7 +45,7 @@ namespace KernelMemState - - 4 = Hostboot is using half a cache - - 8 = Hostboot is using reduced cache - - 10 = Hostboot is using the full cache - - - 32 = Hostboot is using 32 MB of mainstore*/ + - - 48 = Hostboot is using 48 MB of mainstore*/ enum MemLocation @@ -62,7 +62,7 @@ namespace KernelMemState HALF_CACHE = 0x00000004, REDUCED_CACHE = 0x00000008, FULL_CACHE = 0x0000000A, - MS_32MEG = 0x00000020, + MS_48MEG = 0x00000030, }; struct mem_location diff --git a/src/include/kernel/vmmmgr.H b/src/include/kernel/vmmmgr.H index 5cc370e69..11d8199e8 100644 --- a/src/include/kernel/vmmmgr.H +++ b/src/include/kernel/vmmmgr.H @@ -192,7 +192,7 @@ class VmmManager /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ static int mmExtend( void); |