diff options
| author | Mike Jones <mjjones@us.ibm.com> | 2013-12-09 20:47:15 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-01-09 13:33:38 -0600 |
| commit | 0b5aa2c2e4a56c2ab9546a1a80bef847802c7dbd (patch) | |
| tree | 6670b08f7d608bcf3f36d689a61fe1bd14d079e1 /src/usr/hwpf/plat | |
| parent | 0396febcd4fe2abbf110f063731ff5171917e81a (diff) | |
| download | blackbird-hostboot-0b5aa2c2e4a56c2ab9546a1a80bef847802c7dbd.tar.gz blackbird-hostboot-0b5aa2c2e4a56c2ab9546a1a80bef847802c7dbd.zip | |
Support ATTR_PROC_EX_FUNC_L3_DELTA_DATA properly
Instead of zero data, an Attribute Accessor HWP should return real data
supplied by the HW team.
Change-Id: I53c3ecd01bd30475b2ab861af0cb0ad422521782
CQ: SW235093
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7639
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: William H. Schwartz <whs@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/plat')
| -rw-r--r-- | src/usr/hwpf/plat/fapiPlatAttributeService.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C index f7a7560ec..72a26b78b 100644 --- a/src/usr/hwpf/plat/fapiPlatAttributeService.C +++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C @@ -54,6 +54,7 @@ #include <fapiPllRingAttr.H> #include <hwpf/hwp/pll_accessors/getPllRingAttr.H> #include <hwpf/hwp/pll_accessors/getPllRingInfoAttr.H> +#include <hwpf/hwp/winkle_ring_accessors/getL3DeltaDataAttr.H> // The following file checks at compile time that all HWPF attributes are // handled by Hostboot. This is done to ensure that the HTML file listing @@ -1625,6 +1626,14 @@ fapi::ReturnCode fapiPlatGetSpdAttrAccessor( return l_rc; } +//----------------------------------------------------------------------------- +fapi::ReturnCode fapiPlatGetL3DDAttr(const fapi::Target * i_pProcTarget, + uint32_t (&o_data)[DELTA_DATA_SIZE]) +{ + fapi::ReturnCode l_rc; + FAPI_EXEC_HWP(l_rc, getL3DeltaDataAttr, *i_pProcTarget, o_data); + return l_rc; +} } // End platAttrSvc namespace |

