summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/test/hwasGardTest.H
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-11-05 11:53:07 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-07 14:59:47 -0600
commit288892a74556c285f8ec6b823dd8929fed1b4ac2 (patch)
treea1db6f5bb2d7f7ac0e5b45c281c35627ca9e4e04 /src/usr/hwas/test/hwasGardTest.H
parent503a82e95be52cfbf4f67dbb6270f4dff27e3ae6 (diff)
downloadtalos-hostboot-288892a74556c285f8ec6b823dd8929fed1b4ac2.tar.gz
talos-hostboot-288892a74556c285f8ec6b823dd8929fed1b4ac2.zip
Remove unused createGardRecord() function
hwas common createGardRecord() function is not used by FSP and so doesn't need to be in the common section. move functionality to the hostboot platCreateGardRecord() and delete the common function. Change-Id: Ie8245d6a52ea3acf75966f97740af9c24dc97913 RTC: 90404 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7064 Tested-by: Jenkins Server Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/test/hwasGardTest.H')
-rw-r--r--src/usr/hwas/test/hwasGardTest.H44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H
index 487c28df3..834937306 100644
--- a/src/usr/hwas/test/hwasGardTest.H
+++ b/src/usr/hwas/test/hwasGardTest.H
@@ -841,11 +841,11 @@ public:
// Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x12, GARD_Predictive);
+ platCreateGardRecord(l_pTarget, 0x12, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard4: Error from createGardRecord");
+ TS_FAIL("testGard4: Error from platCreateGardRecord");
break;
}
@@ -971,21 +971,21 @@ public:
// Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x23, GARD_Predictive);
+ platCreateGardRecord(l_pTarget, 0x23, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard5: Error from createGardRecord");
+ TS_FAIL("testGard5: Error from platCreateGardRecord");
break;
}
// Create another GARD Record for the target
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x45, GARD_Fatal);
+ platCreateGardRecord(l_pTarget, 0x45, GARD_Fatal);
if (l_pErr)
{
- TS_FAIL("testGard5: Error from createGardRecord (2)");
+ TS_FAIL("testGard5: Error from platCreateGardRecord (2)");
break;
}
@@ -1104,21 +1104,21 @@ public:
// Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x23, GARD_User_Manual);
+ platCreateGardRecord(l_pTarget, 0x23, GARD_User_Manual);
if (l_pErr)
{
- TS_FAIL("testGard6: Error from createGardRecord");
+ TS_FAIL("testGard6: Error from platCreateGardRecord");
break;
}
// Create another GARD Record for the target - should overwrite
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x46, GARD_Fatal);
+ platCreateGardRecord(l_pTarget, 0x46, GARD_Fatal);
if (l_pErr)
{
- TS_FAIL("testGard6: Error from createGardRecord (2)");
+ TS_FAIL("testGard6: Error from platCreateGardRecord (2)");
break;
}
@@ -1245,11 +1245,11 @@ public:
// Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x71, GARD_Predictive);
+ platCreateGardRecord(l_pTarget, 0x71, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard7: Error from createGardRecord");
+ TS_FAIL("testGard7: Error from platCreateGardRecord");
break;
}
@@ -1355,10 +1355,10 @@ public:
// create GARD record, call 'doGard' step and confirm target is
// deconfigured
l_pErr = theDeconfigGard().
- createGardRecord(l_target, 0x12, GARD_User_Manual);
+ platCreateGardRecord(l_target, 0x12, GARD_User_Manual);
if (l_pErr)
{
- TS_FAIL("testGard8: Error from createGardRecord");
+ TS_FAIL("testGard8: Error from platCreateGardRecord");
break;
}
@@ -1504,11 +1504,11 @@ public:
// (try to) Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x12, GARD_Fatal);
+ platCreateGardRecord(l_pTarget, 0x12, GARD_Fatal);
if (l_pErr)
{
- TS_FAIL("testGard9: Error from createGardRecord");
+ TS_FAIL("testGard9: Error from platCreateGardRecord");
break;
}
@@ -1535,11 +1535,11 @@ public:
// (try to) Create a GARD Record for the target.
l_pErr = theDeconfigGard().
- createGardRecord(l_pTarget, 0x12, GARD_Predictive);
+ platCreateGardRecord(l_pTarget, 0x12, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard9: Error from createGardRecord");
+ TS_FAIL("testGard9: Error from platCreateGardRecord");
break;
}
@@ -1635,10 +1635,10 @@ public:
// create GARD record, set Policy, call 'doGard' step and confirm
// target is NOT deconfigured
l_pErr = theDeconfigGard().
- createGardRecord(l_target, 0x12, GARD_Predictive);
+ platCreateGardRecord(l_target, 0x12, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard10: Error from createGardRecord");
+ TS_FAIL("testGard10: Error from platCreateGardRecord");
break;
}
@@ -1721,10 +1721,10 @@ public:
// create GARD record, set Policy, call 'doGard' step and confirm
// target is NOT deconfigured
l_pErr = theDeconfigGard().
- createGardRecord(l_target, 0x12, GARD_Predictive);
+ platCreateGardRecord(l_target, 0x12, GARD_Predictive);
if (l_pErr)
{
- TS_FAIL("testGard10: Error from createGardRecord");
+ TS_FAIL("testGard10: Error from platCreateGardRecord");
break;
}
OpenPOWER on IntegriCloud