summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-08-19 16:44:31 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-13 12:56:29 -0500
commit0b823dd9ef5579112cbbaae770028c75f7d19119 (patch)
treed15afcbcc31171c42b1915f45094f4101a0fb328 /src/include/usr/errl
parent97e007ba1b3c283bb7dcbd35e692385bb91fb5e6 (diff)
downloadtalos-hostboot-0b823dd9ef5579112cbbaae770028c75f7d19119.tar.gz
talos-hostboot-0b823dd9ef5579112cbbaae770028c75f7d19119.zip
add clock callout functionality
Change-Id: Id864e2baa0b69d0dfdbe9c9cfe56f7b4246269ab RTC: 73480 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5842 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@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.H17
-rw-r--r--src/include/usr/errl/errludcallout.H16
2 files changed, 33 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index fc06f7b4e..7da534152 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -423,6 +423,23 @@ public:
void removeBackTrace();
/**
+ * @brief Add a clock callout.
+ * The i_target is used to identify the actual clock to callout because
+ * some systems have multiple clocks of a given type. This target is
+ * usually a chip target, but can possibly be a unit, depending on
+ * the clock type.
+ *
+ * @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
+ *
+ * @return void
+ */
+ void addClockCallout(const TARGETING::Target *i_target,
+ const HWAS::clockTypeEnum i_clockType,
+ const HWAS::callOutPriority i_priority);
+
+ /**
* @brief Add a bus callout
*
* @param[in] i_target1 The hardware bus endpoint target1
diff --git a/src/include/usr/errl/errludcallout.H b/src/include/usr/errl/errludcallout.H
index 80530edd2..cd093b2e4 100644
--- a/src/include/usr/errl/errludcallout.H
+++ b/src/include/usr/errl/errludcallout.H
@@ -52,6 +52,22 @@ class ErrlUserDetailsCallout : public ErrlUserDetails
public:
/**
+ * @brief Construct a clock callout user detail
+ *
+ * @param[in] i_pTargetData The hardware target data
+ * @param[in] i_targetDataLength length of i_pTargetData
+ * @param[in] i_clockType clock type Enum
+ * @param[in] i_priority Priority of the callout
+ *
+ * @return void
+ */
+ ErrlUserDetailsCallout(
+ const void *i_pTargetData,
+ uint32_t i_targetDataLength,
+ const HWAS::clockTypeEnum i_clockType,
+ const HWAS::callOutPriority i_priority);
+
+ /**
* @brief Construct a bus callout user detail
*
* @param[in] i_pTarget1Data The hardware target1 data
OpenPOWER on IntegriCloud