From 288892a74556c285f8ec6b823dd8929fed1b4ac2 Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Tue, 5 Nov 2013 11:53:07 -0600 Subject: 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 Reviewed-by: A. Patrick Williams III --- src/usr/hwas/test/hwasGardTest.H | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/usr/hwas/test/hwasGardTest.H') 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; } -- cgit v1.2.1