From d6d402588868abe6a71b6078a52c99f83f6f7ffb Mon Sep 17 00:00:00 2001 From: Matt Derksen Date: Wed, 21 Feb 2018 09:12:47 -0600 Subject: Cleanup hbrt msg code to be easier to understand and update Cleanup based on review comments on hbrt attribute update msg code. Change-Id: I10c957f1bf7b6cab77315af6c65f5e0f62b5c893 RTC:186991 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54494 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Brian E. Bakke Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell --- src/include/runtime/generic_hbrt_fsp_message.H | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/runtime') diff --git a/src/include/runtime/generic_hbrt_fsp_message.H b/src/include/runtime/generic_hbrt_fsp_message.H index 9a3ecfdb4..01c972880 100644 --- a/src/include/runtime/generic_hbrt_fsp_message.H +++ b/src/include/runtime/generic_hbrt_fsp_message.H @@ -84,10 +84,18 @@ struct SbeRetryReqData_t */ struct HbrtAttrSyncData_t { + // HUID of target on which we want to update the attribute uint32_t huid; + + // Attribute ID of attribute to update TARGETING::ATTRIBUTE_ID attrID; + + // size of attribute data in bytes uint32_t sizeOfAttrData; + + // first byte of bytes of attribute data uint8_t attrDataStart; + } PACKED ; /** @@ -172,6 +180,7 @@ struct GenericFspMboxMessage_t // to do casting to other types: // MyDataType_t* mydatatype = // (MyDataType_t*)&(l_generic_msg.data); + // more than 8 bytes of data is possible // A method to set the local vars to a default state void initialize() -- cgit v1.2.1