summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2016-07-07 13:28:43 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-08-11 00:51:51 -0400
commit3e93a14c9eadef833f9747598ebdbbb5721c01b4 (patch)
tree743f1acb19919cbb3e3c3443c7ab8cf50f532869 /import
parentdd60a691bb96835f46035184af2d11757f4ab3df (diff)
downloadtalos-sbe-3e93a14c9eadef833f9747598ebdbbb5721c01b4.tar.gz
talos-sbe-3e93a14c9eadef833f9747598ebdbbb5721c01b4.zip
Support HB to Cronus attribute dump/sync
Change-Id: I13a4c3b355df9114813df6e21d6f8f53e7ef30f1 RTC: 127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26734 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27398 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import')
-rw-r--r--import/hwpf/fapi2/include/fapi2_attribute_service.H16
1 files changed, 6 insertions, 10 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_attribute_service.H b/import/hwpf/fapi2/include/fapi2_attribute_service.H
index 2ed0203f..c9691abb 100644
--- a/import/hwpf/fapi2/include/fapi2_attribute_service.H
+++ b/import/hwpf/fapi2/include/fapi2_attribute_service.H
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2015 */
+/* COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -89,7 +89,8 @@ namespace fapi2
{
///
-/// @brief Get an InitFile attribute for FAPI2
+/// @brief Get raw access to a FAPI2 Attribute. This is used to dump FAPI2
+/// Attrs
///
/// This function gets a copy of an attribute. In the case of an array attribute,
/// The value in the specified index is retrieved. This should be used by the
@@ -111,14 +112,9 @@ namespace fapi2
///
/// @return ReturnCode. Zero if success
///
-template< TargetType K >
-ReturnCode getInitFileAttr(const AttributeId i_id,
- const Target<K>& i_target,
- uint64_t& o_val,
- const uint32_t i_arrayIndex1 = 0,
- const uint32_t i_arrayIndex2 = 0,
- const uint32_t i_arrayIndex3 = 0,
- const uint32_t i_arrayIndex4 = 0);
+ReturnCode rawAccessAttr(const AttributeId i_id,
+ const Target<TARGET_TYPE_ALL>& i_target,
+ uint8_t* o_val);
/**
* @brief Check the ID and TYPE
OpenPOWER on IntegriCloud