diff options
author | Van Lee <vanlee@us.ibm.com> | 2012-01-18 11:20:33 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-02-01 17:12:09 -0600 |
commit | 06b768407e1d6e212aeed8be23f31dfb27f2a9cc (patch) | |
tree | 4cc7d0295a8efc225b243ea13983803bfda213f7 /src/usr/hwpf/test/hwpftest.H | |
parent | 3537d669cce337e37790cf7be62a817cbc88c811 (diff) | |
download | talos-hostboot-06b768407e1d6e212aeed8be23f31dfb27f2a9cc.tar.gz talos-hostboot-06b768407e1d6e212aeed8be23f31dfb27f2a9cc.zip |
Common Errl FFDC Classes: DCUT - RTC4289
Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/test/hwpftest.H')
-rw-r--r-- | src/usr/hwpf/test/hwpftest.H | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H index 6368e93d5..4776ea41e 100644 --- a/src/usr/hwpf/test/hwpftest.H +++ b/src/usr/hwpf/test/hwpftest.H @@ -49,7 +49,7 @@ struct hwpfTestArgs_t { ifScom_t ifScom; fapi::Target fapiTarget; uint32_t count; - tid_t tid; + tid_t tid; struct { uint64_t Write:1; // 1 = Write uint64_t AttrTest:1; // 1 = run Attr access test @@ -393,15 +393,13 @@ public: TARGETING::Target* l_pTarget = NULL; TARGETING::targetService().masterProcChipTargetHandle(l_pTarget); - // Create a FAPI Target and invoke the hwpInitialTest HWP fapi::Target l_fapiTarget(TARGET_TYPE_PROC_CHIP, reinterpret_cast<void *> (l_pTarget)); // Test ATTR_EC attribute access through FAPI uint8_t l_EC_R = 0xFF; - fapi::Target *l_pfapiTarget = &l_fapiTarget; - l_rc = FAPI_ATTR_GET(ATTR_EC, l_pfapiTarget, l_EC_R); + l_rc = FAPI_ATTR_GET(ATTR_EC, &l_fapiTarget, l_EC_R); if (l_rc != fapi::FAPI_RC_SUCCESS) { TS_FAIL("testHwpf5: ATTR_EC. Error from GET"); |