From 6c769aede36330e33939870110b274fb78461d10 Mon Sep 17 00:00:00 2001 From: Marty Gloff Date: Thu, 4 Jan 2018 13:10:25 -0600 Subject: Concurrent code update of HBRT - Enable Interface for Host Includes changes to enable the host interface for HBRT concurrent update. Also includes some changes for fixing prior review comments, for fixing bugs found in end-to-end testing, and for removing temporary code used when the LID was unavailable. Change-Id: I221bbd299567c8b0dad058cae4620b94f7bff7c8 RTC: 181285 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51498 Tested-by: Jenkins Server Reviewed-by: Brian E. Bakke Reviewed-by: Matt Derksen Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/runtime/rt_targeting.H | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/include/usr/runtime') diff --git a/src/include/usr/runtime/rt_targeting.H b/src/include/usr/runtime/rt_targeting.H index a8e01c20b..3f1ccb480 100644 --- a/src/include/usr/runtime/rt_targeting.H +++ b/src/include/usr/runtime/rt_targeting.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2017 */ +/* Contributors Listed Below - COPYRIGHT 2014,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -67,10 +67,12 @@ namespace RT_TARG * into new LID Structure data * @param[in] Pointer to current Reserved Memory targeting binary data * @param[in/out] Pointer to new LID Structure targeting binary data + * @param[out] Error log userdata2 value associated with non-zero rtn code * @return 0 on success, else return code */ int saveRestoreAttrs(void *i_rsvdMemPtr, - void *io_lidStructPtr); + void *io_lidStructPtr, + uint64_t& o_userdata2); /** * @brief Validate LID Structure against Reserved Memory. Check that the @@ -79,10 +81,12 @@ namespace RT_TARG * match. * @param[in] Pointer to new LID Structure targeting binary data * @param[in] Pointer to current Reserved Memory targeting binary data + * @param[out] Error log userdata2 value associated with non-zero rtn code * @return 0 on success, else return code */ int validateData(void *i_lidStructPtr, - void *i_rsvdMemPtr); + void *i_rsvdMemPtr, + uint64_t& o_userdata2); /** * @brief Apply ATTR_TMP overrides to be available for run time -- cgit v1.2.3