diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 12 | ||||
| -rw-r--r-- | src/include/usr/hwas/common/hwasCallout.H | 6 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index e92a362b9..cb7fac99a 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* COPYRIGHT International Business Machines Corp. 2011,2013 */ /* */ /* p1 */ /* */ @@ -484,6 +484,16 @@ private: /** + * @brief The ErrlManager will call here to ask the + * ErrlEntry to handle deconfigure and GARD callouts + * The ErrlManager is the primary user of this call. + * + * @return plid if we need to shutdown, zero if no action + */ + uint32_t callout(); + + + /** * @brief Compute the flattened size of an error log. It is typical * to call this function for the size of buffer required, then * allocate a buffer, then call flatten(). diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H index 439b79fdd..5c279c4be 100644 --- a/src/include/usr/hwas/common/hwasCallout.H +++ b/src/include/usr/hwas/common/hwasCallout.H @@ -132,14 +132,14 @@ enum callOutPriority * @param[in] i_pData Pointer to the callout bundle * @param[in] i_Size size of the data in the callout bundle * - * @return void + * @return true if shutdown required, false otherwise */ -void processCallout(const uint32_t i_errlPlid, +bool processCallout(const uint32_t i_errlPlid, uint8_t *i_pData, uint64_t i_Size); // typedef for function pointer that the errlog class will use. -typedef void (*processCalloutFn)(const uint32_t, uint8_t *, uint64_t); +typedef bool (*processCalloutFn)(const uint32_t, uint8_t *, uint64_t); #endif // not PARSER // |

