summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/test/hwpftest.H
diff options
context:
space:
mode:
authorVan Lee <vanlee@us.ibm.com>2012-01-18 11:20:33 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-02-01 17:12:09 -0600
commit06b768407e1d6e212aeed8be23f31dfb27f2a9cc (patch)
tree4cc7d0295a8efc225b243ea13983803bfda213f7 /src/usr/hwpf/test/hwpftest.H
parent3537d669cce337e37790cf7be62a817cbc88c811 (diff)
downloadtalos-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.H6
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");
OpenPOWER on IntegriCloud