diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-03-06 16:36:11 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-04-16 21:32:17 -0400 |
commit | 6677ffcbda04c73a7d3ed1e651e3394c8218e503 (patch) | |
tree | 2de578165f3517ecd95dd56548a4e5ebdfa4bb8b /src/usr/errl | |
parent | 6274618ff6a4b0cd8447c1e31940c66b40fa1c42 (diff) | |
download | talos-hostboot-6677ffcbda04c73a7d3ed1e651e3394c8218e503.tar.gz talos-hostboot-6677ffcbda04c73a7d3ed1e651e3394c8218e503.zip |
Propagate attribute overrides up to the HBRT code
Attribute overrides are stored in a separate tank of memory from
the regular attribute values. This tank will be added as an
additional reserved memory section for HBRT to consume (only if
overrides exist).
Also fixed a couple bugs encountered while testing:
- No longer crashes if an error is created inside the targeting
initialization code.
- Added reserved bytes to RHB definition.
Change-Id: I5b10f7ad8dfcb58c550868bb83c4d843f48e1aae
RTC: 169942
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38547
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/errl')
-rw-r--r-- | src/usr/errl/runtime/rt_errlmanager.C | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/usr/errl/runtime/rt_errlmanager.C b/src/usr/errl/runtime/rt_errlmanager.C index 981b4f117..14b61622e 100644 --- a/src/usr/errl/runtime/rt_errlmanager.C +++ b/src/usr/errl/runtime/rt_errlmanager.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -83,7 +83,14 @@ ErrlManager::ErrlManager() : // determine starting PLID value TARGETING::Target * sys = NULL; - TARGETING::targetService().getTopLevelTarget( sys ); + if( TARGETING::targetService().isInitialized() ) + { + TARGETING::targetService().getTopLevelTarget( sys ); + } + else + { + TRACFCOMP( g_trac_errl, "Error log being created before TARGETING is ready..." ); + } if(sys) { iv_currLogId = sys->getAttr<TARGETING::ATTR_HOSTSVC_PLID>(); |