diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-05-15 11:49:36 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-16 10:03:46 -0500 |
commit | e2091f8414a45aac21e98898b43d6120b52a1237 (patch) | |
tree | 42f0691e62f4487aa4eebf6b89f723de4ff25cb0 /src/include/usr/hwas | |
parent | caf97f338fd6d40bb087aecb1e5fc7bf0b32d581 (diff) | |
download | talos-hostboot-e2091f8414a45aac21e98898b43d6120b52a1237.tar.gz talos-hostboot-e2091f8414a45aac21e98898b43d6120b52a1237.zip |
fix fsp build break in errlog parsers
runtime functions are not needed when building the errlog parsers,
so need to move them into the proper ifdef.
Change-Id: I0a8fb1bac71fcf564b4c02c0803819ee3ae41338
RTC: 35077
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4525
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r-- | src/include/usr/hwas/common/hwasCallout.H | 39 |
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 |