summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2018-05-03 09:02:02 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-08 14:37:04 -0400
commit3d3d39d62a94da9dc9bc2da73474c9c3400762c4 (patch)
treed411a52560e6f8603b29ac60f47513793bf0a80e /src/include/usr/runtime
parentd44dfb65fa5d66ca123b3d844c5aaf103f50e1d1 (diff)
downloadtalos-hostboot-3d3d39d62a94da9dc9bc2da73474c9c3400762c4.tar.gz
talos-hostboot-3d3d39d62a94da9dc9bc2da73474c9c3400762c4.zip
Get Final HDAT Size from PAYLOAD's SPIRA section
This commit retrieves the amount of space the PAYLOAD has reserved for the HDAT content in its SPIRA section. It then uses this size when copying the HDAT from the temporary location (where the FSP put it with DMAs-via-TCEs) to its final location. Change-Id: I430a78a1655db85f448b3f5c30e6a83f5be4b1f6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58261 Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-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> 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/include/usr/runtime')
-rw-r--r--src/include/usr/runtime/runtime.H5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 9b8112a2b..042ff8002 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -351,8 +351,11 @@ errlHndl_t openUntrustedSpCommArea(uint64_t i_commbase);
*
* @param[in] payloadBase_va - Virtual Address pointing to start of PAYLOAD
* @param[out] o_hdat_offset - Offset of HDAT Location from start of PAYLOAD
+ * @param[out] o_hdat_size - Size of HDAT Location reserved by PAYLOAD
*/
-void findHdatLocation(uint64_t payloadBase_va, uint64_t& o_hdat_offset);
+void findHdatLocation(uint64_t payloadBase_va,
+ uint64_t& o_hdat_offset,
+ size_t& o_hdat_size);
}
OpenPOWER on IntegriCloud