diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2016-03-18 14:16:41 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-04 11:49:06 -0400 |
commit | f959f4e65f7366e08153fa06e816ae545b8df1be (patch) | |
tree | 9185f2c6420070a7e6d5455d5e179a1112d81be6 /src/include/new | |
parent | 08948598a168b015d407480e45ef2aeb16a635fd (diff) | |
download | talos-hostboot-f959f4e65f7366e08153fa06e816ae545b8df1be.tar.gz talos-hostboot-f959f4e65f7366e08153fa06e816ae545b8df1be.zip |
Ensure fapi2::Target honors platform value type.
The fapi2::Target template is as follows:
template<TargetType K, typename V = plat_target_handle_t>
In many places the code was using the default V type instead of
preserving the type of the template. As an example:
Target<T> getParent(void) const; // old
vs
Target<T,V> getParent(void) const; // new
With the old variant, a Target<ANY, V> is converted to a
Target<ANY, plat_target_handle_t> by the getParent() function
instead of maintaining the V type.
Added associated ecmd release ver-14-4-2-ekbonly for testing
Change-Id: Ie613d658c59f5f6d3ce7be95f3b1e816b52582e0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27036
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/new')
0 files changed, 0 insertions, 0 deletions