diff options
| author | Elliott Dahle <dedahle@us.ibm.com> | 2013-12-09 11:17:38 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-01-15 13:47:19 -0600 |
| commit | e147a8e14a254784ce4975806d1cc32d55af2df4 (patch) | |
| tree | 3ab4b29d4e715f23250ed10431b4d85990b37529 /src/include/usr/errl | |
| parent | e6629f1ed483f2a73f9757c7dbf8d64b549b8828 (diff) | |
| download | blackbird-hostboot-e147a8e14a254784ce4975806d1cc32d55af2df4.tar.gz blackbird-hostboot-e147a8e14a254784ce4975806d1cc32d55af2df4.zip | |
Add Deconfig State / GARD Error parameters to addClockCallout(...)
Change-Id: Ia8bd707604651f8779897a177657eaa5e639a37d
RTC:91649
CMVC-Coreq:910647
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7863
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 9 | ||||
| -rw-r--r-- | src/include/usr/errl/errludcallout.H | 35 |
2 files changed, 31 insertions, 13 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 89369797e..2050deda8 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -452,12 +452,19 @@ public: * @param[in] i_target The hardware target fed by the clock * @param[in] i_clockType The hardware clock type * @param[in] i_priority Priority of the callout + * @param[in] i_deconfigState Enum indicating whether the failing part + * should be deconfigured. + * @param[in] i_gardErrorType To indicate what type of failure occured * * @return void */ void addClockCallout(const TARGETING::Target *i_target, const HWAS::clockTypeEnum i_clockType, - const HWAS::callOutPriority i_priority); + const HWAS::callOutPriority i_priority, + const HWAS::DeconfigEnum + i_deconfigState = HWAS::NO_DECONFIG, + const HWAS::GARD_ErrorType + i_gardErrorType = HWAS::GARD_NULL); /** * @brief Add a bus callout diff --git a/src/include/usr/errl/errludcallout.H b/src/include/usr/errl/errludcallout.H index cd093b2e4..1844d4fed 100644 --- a/src/include/usr/errl/errludcallout.H +++ b/src/include/usr/errl/errludcallout.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* COPYRIGHT International Business Machines Corp. 2012,2014 */ /* */ /* p1 */ /* */ @@ -42,6 +42,9 @@ namespace TARGETING namespace ERRORLOG { +// Forward class declaration +class ErrlEntry; + /** * @class ErrlUserDetailsCallout * @@ -49,7 +52,15 @@ namespace ERRORLOG */ class ErrlUserDetailsCallout : public ErrlUserDetails { -public: + + friend class ErrlEntry; + +private: + + /** + * @brief Destructor + */ + virtual ~ErrlUserDetailsCallout() { }; /** * @brief Construct a clock callout user detail @@ -58,15 +69,19 @@ public: * @param[in] i_targetDataLength length of i_pTargetData * @param[in] i_clockType clock type Enum * @param[in] i_priority Priority of the callout + * @param[in] i_deconfigState Enum indicating whether the failing part + * should be deconfigured. + * @param[in] i_gardErrorType To indicate what type of failure occured * * @return void */ ErrlUserDetailsCallout( - const void *i_pTargetData, - uint32_t i_targetDataLength, - const HWAS::clockTypeEnum i_clockType, - const HWAS::callOutPriority i_priority); - + const void *i_pTargetData, + uint32_t i_targetDataLength, + const HWAS::clockTypeEnum i_clockType, + const HWAS::callOutPriority i_priority, + const HWAS::DeconfigEnum i_deconfigState, + const HWAS::GARD_ErrorType i_gardErrorType); /** * @brief Construct a bus callout user detail * @@ -118,12 +133,8 @@ public: */ ErrlUserDetailsCallout(const HWAS::epubProcedureID i_procedure, const HWAS::callOutPriority i_priority); - /** - * @brief Destructor - */ - virtual ~ErrlUserDetailsCallout() { }; -private: + // Disabled ErrlUserDetailsCallout(const ErrlUserDetailsCallout &); ErrlUserDetailsCallout & operator=(const ErrlUserDetailsCallout &); |

