diff options
author | Lateef Quraishi <lateef@us.ibm.com> | 2016-08-16 11:54:07 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2016-08-17 13:39:08 -0400 |
commit | acd0a18d140c7510a19818d8963f40aeee8c60dd (patch) | |
tree | 945d20717fd65b9e60482be938f4428fddf8db74 /import | |
parent | 8f236340fbc886657730a2e9af731e4de80a7c1a (diff) | |
download | talos-sbe-acd0a18d140c7510a19818d8963f40aeee8c60dd.tar.gz talos-sbe-acd0a18d140c7510a19818d8963f40aeee8c60dd.zip |
Plat support for getTarget(ordinal)
Added default V = plat_target_handle_t in template decleration
Change-Id: I15e7a1c15f366940253a8e266bb7e78d56715fe9
RTC: 157141
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28323
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: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: A. P. Williams III <iawillia@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@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/28324
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'import')
-rw-r--r-- | import/hwpf/fapi2/include/fapi2_target.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_target.H b/import/hwpf/fapi2/include/fapi2_target.H index 5b1c450c..b41eb477 100644 --- a/import/hwpf/fapi2/include/fapi2_target.H +++ b/import/hwpf/fapi2/include/fapi2_target.H @@ -497,7 +497,7 @@ inline void toString(const Target<T, V>* i_target, char* i_buffer, size_t i_bsiz /// the desired target /// @return Target<T> the target requested /// -template<TargetType T, typename V> +template<TargetType T, typename V = plat_target_handle_t> inline Target<T, V> getTarget(uint64_t Ordinal); // Why has the been removed? For starters, the API name |