diff options
| author | Norman James <njames@us.ibm.com> | 2014-09-23 14:47:34 -0500 |
|---|---|---|
| committer | Andrew J. Geissler <andrewg@us.ibm.com> | 2014-12-18 09:13:52 -0600 |
| commit | 492738975921b5eeab19573cc47a5536e867cb02 (patch) | |
| tree | 5dbaa546c5f6b23231c75c377d99e02814ac01bb /src/include/usr/errl/errlentry.H | |
| parent | 9e91fa4f9e2ce76c458f8839e2f573c3cbc90797 (diff) | |
| download | blackbird-hostboot-492738975921b5eeab19573cc47a5536e867cb02.tar.gz blackbird-hostboot-492738975921b5eeab19573cc47a5536e867cb02.zip | |
Added callout interface for parts such as PNOR and SBE
Parts supported for callout are PNOR, SBE, VRM, GPIO, etc
Change-Id: I6734d58e8e44a7bfd71e87cc4f910bce9473f86d
RTC: 109945
CMVC-Coreq: 945677
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13547
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 1081f365d..4f164d523 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -506,6 +506,28 @@ public: i_deconfigState = HWAS::NO_DECONFIG, const HWAS::GARD_ErrorType i_gardErrorType = HWAS::GARD_NULL); + /** + * @brief Add a part callout. + * The i_target is used to identify the associated target. This target + * may not be a FRU + * + * @param[in] i_target The hardware target that owns this part + * @param[in] i_partType The hardware part 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 addPartCallout(const TARGETING::Target *i_target, + const HWAS::partTypeEnum i_partType, + 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 @@ -606,6 +628,16 @@ private: epubSubSystem_t getSubSystem( HWAS::clockTypeEnum i_clockType ) const; /** + * @brief maps a part type to a subsystem ID + * + * @param[in] i_partType Bus Type. + * + * @return subsystem ID + */ + epubSubSystem_t getSubSystem( HWAS::partTypeEnum i_partType ) const; + + + /** * @brief The ErrlManager will call here to ask the * ErrlEntry to assign the time of commit, and to assign * the commiter's comp ID. |

