diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2015-06-16 16:34:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-07-13 14:44:48 -0500 |
commit | c4009727afdbf877ba9cc285632e1a71158ac9dc (patch) | |
tree | 98735ec3a52245ef62659617e6278329ccd823f1 /src/usr/diag/prdf/common/framework/register | |
parent | 707c72f75b22e6987e3b17660113f1d8d2872279 (diff) | |
download | talos-hostboot-c4009727afdbf877ba9cc285632e1a71158ac9dc.tar.gz talos-hostboot-c4009727afdbf877ba9cc285632e1a71158ac9dc.zip |
PRD: Cleanup GetAttentionType() and GetCauseAttentionType() function names
Change-Id: I2c361b8ca7f0093263ff52bea60741567fa4e63f
RTC: 127050
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18535
Tested-by: Jenkins Server
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18935
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/framework/register')
-rwxr-xr-x | src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C | 2 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/framework/register/prdfResetErrorRegister.C | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C b/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C index be4e8195e..9ee1358eb 100755 --- a/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C +++ b/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C @@ -144,7 +144,7 @@ int32_t ErrorRegister::Analyze( STEP_CODE_DATA_STRUCT & io_sdc ) // Get Data from hardware const BIT_STRING_CLASS &bs = - Read( io_sdc.service_data->GetCauseAttentionType() ); + Read( io_sdc.service_data->getSecondaryAttnType() ); BitKey bl; // null bit list has length 0 if ( scr_rc == SUCCESS ) diff --git a/src/usr/diag/prdf/common/framework/register/prdfResetErrorRegister.C b/src/usr/diag/prdf/common/framework/register/prdfResetErrorRegister.C index 4a3cdc644..24064490a 100755 --- a/src/usr/diag/prdf/common/framework/register/prdfResetErrorRegister.C +++ b/src/usr/diag/prdf/common/framework/register/prdfResetErrorRegister.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -107,9 +109,9 @@ ResetAndMaskErrorRegister::Reset(const BitKey & bit_list, { int32_t rc = SUCCESS; // Don't do reset on CS. - if ((CHECK_STOP != error.service_data->GetAttentionType()) && //@pw01 - (UNIT_CS != error.service_data->GetAttentionType()) && - (UNIT_CS != error.service_data->GetCauseAttentionType())) + if ((CHECK_STOP != error.service_data->getPrimaryAttnType()) && //@pw01 + (UNIT_CS != error.service_data->getPrimaryAttnType()) && + (UNIT_CS != error.service_data->getSecondaryAttnType())) { #ifndef __HOSTBOOT_MODULE ServiceDataCollector & sdc = *(error.service_data); |