diff options
author | vanlee <vanlee@us.ibm.com> | 2013-05-14 14:54:27 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-06-12 09:27:05 -0500 |
commit | 36a701ad9bcbcb3a997d76d11fe38d7726d1c4e7 (patch) | |
tree | 56c3c21170fe54032aa0cb4ed720f653d5e207a8 /src/include/usr/errl | |
parent | d2a31c241a1a8221bc3932bdfacfc949fb6ec70c (diff) | |
download | talos-hostboot-36a701ad9bcbcb3a997d76d11fe38d7726d1c4e7.tar.gz talos-hostboot-36a701ad9bcbcb3a997d76d11fe38d7726d1c4e7.zip |
Add interface to do bus callout in Hostboot
Change-Id: If169d997a0aba49a81ef834d7806e1e589dc3bff
RTC: 69459
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4503
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.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 | 15 | ||||
-rw-r--r-- | src/include/usr/errl/errludcallout.H | 20 |
2 files changed, 35 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index a34633df9..96598e03a 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -423,6 +423,21 @@ public: void removeBackTrace(); /** + * @brief Add a bus callout + * + * @param[in] i_target1 The hardware bus endpoint target1 + * @param[in] i_target2 The hardware bus endpoint target2 + * @param[in] i_busType The hardware bus type + * @param[in] i_priority Priority of the callout + * + * @return void + */ + void addBusCallout(const TARGETING::Target *i_target1, + const TARGETING::Target *i_target2, + const HWAS::busTypeEnum i_busType, + const HWAS::callOutPriority i_priority); + + /** * @brief Add a hardware callout * * @param[in] i_target The hardware target diff --git a/src/include/usr/errl/errludcallout.H b/src/include/usr/errl/errludcallout.H index 9357baa3f..80530edd2 100644 --- a/src/include/usr/errl/errludcallout.H +++ b/src/include/usr/errl/errludcallout.H @@ -52,6 +52,26 @@ class ErrlUserDetailsCallout : public ErrlUserDetails public: /** + * @brief Construct a bus callout user detail + * + * @param[in] i_pTarget1Data The hardware target1 data + * @param[in] i_target1DataLength length of i_pTarget1Data + * @param[in] i_pTarget2Data The hardware target2 data + * @param[in] i_target2DataLength length of i_pTarget2Data + * @param[in] i_busType bus type Enum + * @param[in] i_priority Priority of the callout + * + * @return void + */ + ErrlUserDetailsCallout( + const void *i_pTarget1Data, + uint32_t i_target1DataLength, + const void *i_pTarget2Data, + uint32_t i_target2DataLength, + const HWAS::busTypeEnum i_busType, + const HWAS::callOutPriority i_priority); + + /** * @brief Construct a hardware callout user detail * * @param[in] i_pTargetData The hardware target data |