summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas/common/hwasCallout.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwas/common/hwasCallout.H')
-rw-r--r--src/include/usr/hwas/common/hwasCallout.H39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H
index 24f8c2adc..674dc5d34 100644
--- a/src/include/usr/hwas/common/hwasCallout.H
+++ b/src/include/usr/hwas/common/hwasCallout.H
@@ -122,25 +122,6 @@ enum callOutPriority
SRCI_PRIORITY_HIGH = 6
};
-#ifndef PARSER
-
-/**
- * @brief processCallout process the userdetail for a callout, calling
- * the deconfigure and/or GARD funcationality as appropriate
- *
- * @param[in] i_errl Error log handle
- * @param[in] i_pData Pointer to the callout bundle
- * @param[in] i_Size size of the data in the callout bundle
- *
- */
-void processCallout(errlHndl_t i_errl,
- uint8_t *i_pData,
- uint64_t i_Size);
-
-// typedef for function pointer that the errlog class will use.
-typedef bool (*processCalloutFn)(errlHndl_t, uint8_t *, uint64_t);
-#endif // not PARSER
-
//
const uint8_t HW_CALLOUT = 0x01;
const uint8_t PROCEDURE_CALLOUT = 0x02;
@@ -164,6 +145,24 @@ typedef struct callout_ud
};
} callout_ud_t;
+#ifndef PARSER
+
+/**
+ * @brief processCallout process the userdetail for a callout, calling
+ * the deconfigure and/or GARD funcationality as appropriate
+ *
+ * @param[in] i_errl Error log handle
+ * @param[in] i_pData Pointer to the callout bundle
+ * @param[in] i_Size size of the data in the callout bundle
+ *
+ */
+void processCallout(errlHndl_t i_errl,
+ uint8_t *i_pData,
+ uint64_t i_Size);
+
+// typedef for function pointer that the errlog class will use.
+typedef bool (*processCalloutFn)(errlHndl_t, uint8_t *, uint64_t);
+
/**
* @brief platform specific code to handle a procedure callout that has been
* found in an errlog
@@ -200,6 +199,8 @@ errlHndl_t platHandleHWCallout(
errlHndl_t i_errl,
GARD_ErrorType i_gardErrorType);
+#endif // not PARSER
+
}; // end namespace
#endif
OpenPOWER on IntegriCloud