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/build/debug/Hostboot/Dump.pm | |
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/build/debug/Hostboot/Dump.pm')
-rwxr-xr-x | src/build/debug/Hostboot/Dump.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/build/debug/Hostboot/Dump.pm b/src/build/debug/Hostboot/Dump.pm index e7c1c78de..cf1b684a7 100755 --- a/src/build/debug/Hostboot/Dump.pm +++ b/src/build/debug/Hostboot/Dump.pm @@ -36,7 +36,7 @@ use constant MEMSTATE_NO_MEM => 0x0; use constant MEMSTATE_HALF_CACHE => 0x4; use constant MEMSTATE_REDUCED_CACHE => 0x8; use constant MEMSTATE_FULL_CACHE => 0xa; -use constant MEMSTATE_MS_32MEG => 0x20; +use constant MEMSTATE_MS_48MEG => 0x30; use constant _KB => 1024; use constant _MB => 1024 * 1024; @@ -71,9 +71,9 @@ our %memory_maps = ( [ 8 * _MB, 1 * _MB, 9 * _MB, 1 * _MB ], - MEMSTATE_MS_32MEG() => - # Add next 22MB after we expand to memory. - [ 10 * _MB, 22 * _MB + MEMSTATE_MS_48MEG() => + # Add next 38MB after we expand to memory. + [ 10 * _MB, 38 * _MB ] ); @@ -88,9 +88,9 @@ our %memory_states = ( MEMSTATE_FULL_CACHE() => [ MEMSTATE_NO_MEM, MEMSTATE_HALF_CACHE, MEMSTATE_REDUCED_CACHE, MEMSTATE_FULL_CACHE ], - MEMSTATE_MS_32MEG() => [ MEMSTATE_NO_MEM, + MEMSTATE_MS_48MEG() => [ MEMSTATE_NO_MEM, MEMSTATE_HALF_CACHE, MEMSTATE_REDUCED_CACHE, - MEMSTATE_FULL_CACHE, MEMSTATE_MS_32MEG ] + MEMSTATE_FULL_CACHE, MEMSTATE_MS_48MEG ] ); sub main |