diff options
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 |