diff options
Diffstat (limited to 'src/import/hwpf/fapi2/include/error_info.H')
-rw-r--r-- | src/import/hwpf/fapi2/include/error_info.H | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/import/hwpf/fapi2/include/error_info.H b/src/import/hwpf/fapi2/include/error_info.H index df38467c2..4fd1af8a1 100644 --- a/src/import/hwpf/fapi2/include/error_info.H +++ b/src/import/hwpf/fapi2/include/error_info.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -53,14 +53,16 @@ inline uint64_t convertType( T& i_value ) }; // convert platform target handle to a uint64_t -template<fapi2::TargetType T> -inline uint64_t convertType( const fapi2::Target<T>& i_value) +template<fapi2::TargetType T, fapi2::MulticastType M> +inline uint64_t convertType( const fapi2::Target<T, M>& i_value) { // send the target type and instance as ffdc they will be used // to instantiate a target before logging the ffdc data - return static_cast<uint64_t>((static_cast<uint64_t>( - (i_value.get().getFapiTargetType())) << 32) | - i_value.get().getTargetInstance()); + return static_cast<uint64_t>( + (static_cast<uint64_t>( + (i_value.get().getFapiTargetType() | + (i_value.get().fields.is_multicast << 31)) + ) << 32) | i_value.get().getTargetInstance()); }; #endif |