summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/attrrp.C
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2017-02-07 22:20:56 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-08 17:27:25 -0500
commit8c15e0972e877d13fe79432e7ee7c97f550b2889 (patch)
tree9a0346a8af6c10f12c1719746725ae191f4ba8f9 /src/usr/targeting/attrrp.C
parentea41fffce4f08b98d0197bbdaa7877d36f6d8f79 (diff)
downloadtalos-hostboot-8c15e0972e877d13fe79432e7ee7c97f550b2889.tar.gz
talos-hostboot-8c15e0972e877d13fe79432e7ee7c97f550b2889.zip
Set up HDAT HB Reserved Memory and load reserved memory data
Change-Id: Ie8460ecdf67cd99ab422fe52c4ec936f4c0aa8f1 RTC:165514 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36117 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/attrrp.C')
-rwxr-xr-xsrc/usr/targeting/attrrp.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/targeting/attrrp.C b/src/usr/targeting/attrrp.C
index 3f65f5af6..cc0cc57c1 100755
--- a/src/usr/targeting/attrrp.C
+++ b/src/usr/targeting/attrrp.C
@@ -303,16 +303,16 @@ namespace TARGETING
//attribute information on the initial IPL
//Account HRMOR (non 0 base addr)
uint64_t l_attr_data_addr = cpu_spr_value(CPU_SPR_HRMOR)
- + MPIPL_ATTR_DATA_ADDR;
+ + VMM_ATTR_DATA_START_OFFSET;
l_header = reinterpret_cast<TargetingHeader*>(
mm_block_map(reinterpret_cast<void*>(l_attr_data_addr),
- MPIPL_ATTR_VMM_SIZE));
+ VMM_ATTR_DATA_SIZE));
if(l_header == 0)
{
TRACFCOMP(g_trac_targeting,
"Failed mapping phys addr: %p for %lx bytes",
l_attr_data_addr,
- MPIPL_ATTR_VMM_SIZE);
+ VMM_ATTR_DATA_SIZE);
//Error mm_block_map returned invalid ptr
/*@
* @errortype ERRORLOG::ERRL_SEV_UNRECOVERABLE
@@ -330,7 +330,7 @@ namespace TARGETING
TARG_PARSE_ATTR_SECT_HEADER,
TARG_RC_MM_BLOCK_FAIL,
l_attr_data_addr,
- MPIPL_ATTR_VMM_SIZE,
+ VMM_ATTR_DATA_SIZE,
true);
break;
}
OpenPOWER on IntegriCloud