diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2016-03-18 15:36:10 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-04 03:08:11 -0400 |
commit | 1c7d668c10595448ffce749514143e9ca94b5583 (patch) | |
tree | bdf34b01af64bf8d194b6bd714a38740515194d6 /import | |
parent | 295690f13710b71c871ff09a411895dd88f9a9c7 (diff) | |
download | talos-sbe-1c7d668c10595448ffce749514143e9ca94b5583.tar.gz talos-sbe-1c7d668c10595448ffce749514143e9ca94b5583.zip |
fapi2: Update misc functions to honor platform value type.
Added associated ecmd release ver-14-4-4-ekbonly for testing
Change-Id: I636527a82b60f1d842e2a5619471309cd901f7bf
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22258
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27053
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import')
-rw-r--r-- | import/hwpf/fapi2/include/error_info_defs.H | 6 | ||||
-rw-r--r-- | import/hwpf/fapi2/include/fapi2_vpd_access.H | 4 | ||||
-rw-r--r-- | import/hwpf/fapi2/include/utils.H | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/import/hwpf/fapi2/include/error_info_defs.H b/import/hwpf/fapi2/include/error_info_defs.H index 1f2e57f6..d2f888d5 100644 --- a/import/hwpf/fapi2/include/error_info_defs.H +++ b/import/hwpf/fapi2/include/error_info_defs.H @@ -7,7 +7,7 @@ /* */ /* EKB Project */ /* */ -/* COPYRIGHT 2011,2015 */ +/* COPYRIGHT 2011,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -234,8 +234,8 @@ inline uint16_t getErrorInfoFfdcSize(const T*) /// /// @brief Get FFDC Size specialization for fapi2::Target /// -template<fapi2::TargetType T> -inline uint16_t getErrorInfoFfdcSize(const fapi2::Target<T>&) +template<fapi2::TargetType T, typename V> +inline uint16_t getErrorInfoFfdcSize(const fapi2::Target<T, V>&) { return EI_FFDC_SIZE_TARGET; } diff --git a/import/hwpf/fapi2/include/fapi2_vpd_access.H b/import/hwpf/fapi2/include/fapi2_vpd_access.H index 31909c56..d31e7add 100644 --- a/import/hwpf/fapi2/include/fapi2_vpd_access.H +++ b/import/hwpf/fapi2/include/fapi2_vpd_access.H @@ -81,8 +81,8 @@ class VPDInfo<TARGET_TYPE_MCS> /// FAPI_TRY(getVPD( mcs, vpdInfo, blob )); /// blob now contains the VPD data for the MCS. /// -template<TargetType T> -ReturnCode getVPD(const Target<T>& i_target, +template<TargetType T, typename V> +ReturnCode getVPD(const Target<T, V>& i_target, VPDInfo<T>& io_vpd_info, uint8_t* o_blob); diff --git a/import/hwpf/fapi2/include/utils.H b/import/hwpf/fapi2/include/utils.H index 10a7c333..62724979 100644 --- a/import/hwpf/fapi2/include/utils.H +++ b/import/hwpf/fapi2/include/utils.H @@ -69,8 +69,8 @@ namespace fapi2 /// @return ReturnCode. FAPI2_RC_SUCCESS on success, else platform specified error. /// /// -template<TargetType T> -inline ReturnCode specialWakeup(const Target<T>& i_target, +template<TargetType T, typename V> +inline ReturnCode specialWakeup(const Target<T, V>& i_target, const bool i_enable) { // enforce the allowed target types |