summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorBrian Bakke <bbakke@us.ibm.com>2017-09-15 14:12:50 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-13 00:06:13 -0400
commit0260aa3633e352076f134785739c0893a0022a3a (patch)
treed0300efb0927dbbe68501a52c2da34f863f9b4c4 /src/include
parent22c94dcc2852b9dcb9c2210246e3f6ddb04e8d8f (diff)
downloadtalos-hostboot-0260aa3633e352076f134785739c0893a0022a3a.tar.gz
talos-hostboot-0260aa3633e352076f134785739c0893a0022a3a.zip
story 179500 - Sanity Check Attribute Overrides input
Change-Id: I3686e4e7efb916d5c267e2464da9aac311d92999 RTC: 179500 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46286 Reviewed-by: Matt Derksen <mderkse1@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dzuy Nguyen <dzuy@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/targeting/common/attributeTank.H21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/attributeTank.H b/src/include/usr/targeting/common/attributeTank.H
index c71d14b35..a3f9afeab 100644
--- a/src/include/usr/targeting/common/attributeTank.H
+++ b/src/include/usr/targeting/common/attributeTank.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -330,6 +330,25 @@ namespace AttributeTank
virtual void deserializeAttributes(
const AttributeSerializedChunk & i_attributes);
+
+ /**
+ * @brief Deserialize a chunk of Attributes into the tank and
+ * select whether to echo the attributes after they have been stored
+ *
+ * The use case is for receiving a chunk of serialized attributes from
+ * another AttributeTank on a another subsystem. The caller is responsible
+ * for freeing/deleting the memory in the chunk after calling this function.
+ *
+ * @param[in] i_attributes Reference to AttributeSerializedChunk containing
+ * attributes.
+ *
+ * @param[in] i_echoAttributes Select whether or not to echo the attributes
+ */
+ virtual void deserializeAttributes(
+ const AttributeSerializedChunk & i_attributes,
+ bool i_echoAttributes );
+
+
/**
* @brief Fast inline check if any attributes exist in the tank
*
OpenPOWER on IntegriCloud