summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/test/hwasGardTest.H
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2012-12-10 17:35:07 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-01-02 16:44:16 -0600
commitd6dd563c5b0ed676757d6ab4dc916df073f44564 (patch)
tree79a72937f5c382c682940ff58a0e870faeae1d5f /src/usr/hwas/test/hwasGardTest.H
parent48d9ff25aa0886aaba13b3fde521aaeb87f2eea6 (diff)
downloadtalos-hostboot-d6dd563c5b0ed676757d6ab4dc916df073f44564.tar.gz
talos-hostboot-d6dd563c5b0ed676757d6ab4dc916df073f44564.zip
deconfigGard - enable reading GARD records from PNOR
update common and platform interface so that both hostboot and FSP can access GARD records in PNOR. Change-Id: I1eb36238076bcbb421cf1d149538eba1c7faeda6 RTC: 33551 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2628 Tested-by: Jenkins Server 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.H14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H
index d195899a1..575b246db 100644
--- a/src/usr/hwas/test/hwasGardTest.H
+++ b/src/usr/hwas/test/hwasGardTest.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* COPYRIGHT International Business Machines Corp. 2011,2013 */
/* */
/* p1 */
/* */
@@ -353,7 +353,8 @@ public:
errlHndl_t l_pErr = NULL;
HWAS::DeconfigGard::GardRecords_t l_records;
- l_pErr = HWAS::theDeconfigGard().getGardRecords(0, l_records);
+ l_pErr = HWAS::theDeconfigGard().getGardRecords(
+ HWAS::DeconfigGard::GET_ALL_GARD_RECORDS, l_records);
if (l_pErr)
{
@@ -853,7 +854,8 @@ public:
do
{
// Get all existing GARD Records
- l_pErr = HWAS::theDeconfigGard().getGardRecords(0, l_records);
+ l_pErr = HWAS::theDeconfigGard().getGardRecords(
+ HWAS::DeconfigGard::GET_ALL_GARD_RECORDS, l_records);
if (l_pErr)
{
@@ -892,7 +894,8 @@ public:
}
// Clear all GARD Records
- l_pErr = HWAS::theDeconfigGard().clearGardRecords(0);
+ l_pErr = HWAS::theDeconfigGard().clearGardRecords(
+ HWAS::DeconfigGard::CLEAR_ALL_GARD_RECORDS);
if (l_pErr)
{
@@ -903,7 +906,8 @@ public:
// Get the GARD Records
l_records.clear();
- l_pErr = HWAS::theDeconfigGard().getGardRecords(0, l_records);
+ l_pErr = HWAS::theDeconfigGard().getGardRecords(
+ HWAS::DeconfigGard::GET_ALL_GARD_RECORDS, l_records);
if (l_pErr)
{
OpenPOWER on IntegriCloud