summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/errl')
-rw-r--r--src/include/usr/errl/errlentry.H15
-rw-r--r--src/include/usr/errl/errludcallout.H20
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
OpenPOWER on IntegriCloud