diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2016-04-08 10:33:15 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-05-02 12:00:12 -0400 |
commit | 7057ace0dd090782177982d9dcda3532286e33ab (patch) | |
tree | dc02b69d733a12eb37802661d2a758fce307b01f /src/include/usr/diag | |
parent | bd81810ed1cb2a9559fd14ae8babb63415b596e7 (diff) | |
download | talos-hostboot-7057ace0dd090782177982d9dcda3532286e33ab.tar.gz talos-hostboot-7057ace0dd090782177982d9dcda3532286e33ab.zip |
PRD: added support for new HOST_ATTN attention type
Change-Id: I9c351931dab0bc1759ef9b609a997ad8a8194c3a
RTC: 151229
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23049
Tested-by: Jenkins Server
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Squashed: Iae8d7fe98a5b5b6d4577a82806be71aaff931c6f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23807
Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/include/usr/diag')
-rw-r--r-- | src/include/usr/diag/prdf/common/prdfAttnTypes.H | 55 | ||||
-rwxr-xr-x | src/include/usr/diag/prdf/common/prdfMain_common.H | 20 | ||||
-rw-r--r-- | src/include/usr/diag/prdf/prdfMain.H | 4 |
3 files changed, 58 insertions, 21 deletions
diff --git a/src/include/usr/diag/prdf/common/prdfAttnTypes.H b/src/include/usr/diag/prdf/common/prdfAttnTypes.H new file mode 100644 index 000000000..dd8e22afc --- /dev/null +++ b/src/include/usr/diag/prdf/common/prdfAttnTypes.H @@ -0,0 +1,55 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/diag/prdf/common/prdfAttnTypes.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] 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. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfAttnTypes_H +#define __prdfAttnTypes_H + +/** @file prdfAttnTypes.H */ + +namespace PRDF +{ + +/** + * @brief Enum specifying supported attention types. + * @note Order is important. The highest priority attention types should have a + * lower value. + */ +enum ATTENTION_VALUE_TYPE +{ + INVALID_ATTENTION_TYPE = 0, + MACHINE_CHECK = 1, + CHECK_STOP = MACHINE_CHECK, + UNIT_CS = 2, + PROC_CS = UNIT_CS, + RECOVERABLE = 3, + SPECIAL = 4, + HOST_ATTN = 5, + END_ATTENTION_TYPE = 6 +}; + +} // end namespace PRDF + +#endif // __prdfAttnTypes_H + diff --git a/src/include/usr/diag/prdf/common/prdfMain_common.H b/src/include/usr/diag/prdf/common/prdfMain_common.H index 772762488..5af8757c6 100755 --- a/src/include/usr/diag/prdf/common/prdfMain_common.H +++ b/src/include/usr/diag/prdf/common/prdfMain_common.H @@ -40,26 +40,6 @@ namespace PRDF { -// Move here from iipsdbug.h -/** - * @brief Enum specifying attention type - */ -// If changes are made to ATTENTION_VALUE_TYPE then subsequent changes need to be made to: -// /prdf/sim/prdsimAttentionParser.C and /prdf/sim/errl2tcd.C -enum ATTENTION_VALUE_TYPE -{ - INVALID_ATTENTION_TYPE = 0, - MACHINE_CHECK = 1, - CHECK_STOP = MACHINE_CHECK, - UNIT_CS = 2, - PROC_CS = UNIT_CS, - RECOVERABLE = 3, - SPECIAL = 4, - HOST_ATTN = 5, - END_ATTENTION_TYPE = 6 -}; - - // Move here from xspprdsdbug.C /** * @brief Structure of target handle and its attention type diff --git a/src/include/usr/diag/prdf/prdfMain.H b/src/include/usr/diag/prdf/prdfMain.H index 3458a3278..ed543afe6 100644 --- a/src/include/usr/diag/prdf/prdfMain.H +++ b/src/include/usr/diag/prdf/prdfMain.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -36,6 +36,8 @@ #include <errl/errlmanager.H> // for errlHndl_t +#include <diag/prdf/common/prdfAttnTypes.H> + // This must be included after all Hostboot specific includes. This will take // care of cases where a file must be included in the common code, but the // include paths are different between FSP and Hostboot. |