summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/hdatservice.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-01-08 12:55:18 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-13 12:27:19 -0600
commite660f75a8db5d41967e3e74db2f192f62fdb16f3 (patch)
treeadcf4b73a2248a92d85acbeb094d27c11238cc0e /src/usr/runtime/hdatservice.C
parent0653695de6a1b29a8665dfe3eb708beeafc12f58 (diff)
downloadtalos-hostboot-e660f75a8db5d41967e3e74db2f192f62fdb16f3.tar.gz
talos-hostboot-e660f75a8db5d41967e3e74db2f192f62fdb16f3.zip
BEAM fixes for fsi,runtime
Change-Id: I6d285e9ca357ebbf0c1b0f7118da0f5b727113d3 RTC: 84070 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/7947 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/hdatservice.C')
-rw-r--r--src/usr/runtime/hdatservice.C12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/runtime/hdatservice.C b/src/usr/runtime/hdatservice.C
index 2f715e871..d58ba041b 100644
--- a/src/usr/runtime/hdatservice.C
+++ b/src/usr/runtime/hdatservice.C
@@ -325,9 +325,9 @@ hdatService::hdatService(void)
,iv_spiraH(NULL)
,iv_spiraS(NULL)
{
- for( RUNTIME::SectionId id = RUNTIME::FIRST_SECTION;
- id <= RUNTIME::LAST_SECTION;
- id = (RUNTIME::SectionId)(id+1) )
+ for( uint8_t id = static_cast<uint8_t>(RUNTIME::FIRST_SECTION);
+ id <= static_cast<uint8_t>(RUNTIME::LAST_SECTION);
+ id++ )
{
iv_actuals[id] = ACTUAL_NOT_SET;
}
@@ -586,7 +586,7 @@ errlHndl_t hdatService::getHostDataSection( SectionId i_section,
assert(sys != NULL);
// Figure out what kind of payload we have
- TARGETING::ATTR_PAYLOAD_KIND_type payload_kind
+ TARGETING::PAYLOAD_KIND payload_kind
= sys->getAttr<TARGETING::ATTR_PAYLOAD_KIND>();
#ifdef REAL_HDAT_TEST
@@ -1057,7 +1057,7 @@ errlHndl_t hdatService::findSpira( void )
// Figure out what kind of payload we have
TARGETING::Target * sys = NULL;
TARGETING::targetService().getTopLevelTarget( sys );
- TARGETING::ATTR_PAYLOAD_KIND_type payload_kind
+ TARGETING::PAYLOAD_KIND payload_kind
= sys->getAttr<TARGETING::ATTR_PAYLOAD_KIND>();
// Go get the physical address we mapped in
@@ -1257,7 +1257,7 @@ errlHndl_t hdatService::updateHostDataSectionActual( SectionId i_section,
assert(sys != NULL);
// Figure out what kind of payload we have
- TARGETING::ATTR_PAYLOAD_KIND_type payload_kind
+ TARGETING::PAYLOAD_KIND payload_kind
= sys->getAttr<TARGETING::ATTR_PAYLOAD_KIND>();
if( TARGETING::PAYLOAD_KIND_NONE == payload_kind )
OpenPOWER on IntegriCloud