diff options
Diffstat (limited to 'src/import/chips/p9/procedures/hwp')
3 files changed, 12 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/ffdc/ffdc_includes.H b/src/import/chips/p9/procedures/hwp/ffdc/ffdc_includes.H index ac7b1e92f..7119043e5 100644 --- a/src/import/chips/p9/procedures/hwp/ffdc/ffdc_includes.H +++ b/src/import/chips/p9/procedures/hwp/ffdc/ffdc_includes.H @@ -24,10 +24,12 @@ /* IBM_PROLOG_END_TAG */ #ifndef __FFDC_INCLUDES_H #define __FFDC_INCLUDES_H + /// @file ffdc_includes.H /// /// @brief main file used to export all include files for FFDC procedures /// + #include <p9_collect_some_ffdc.H> #endif diff --git a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.C b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.C index 39ee1a42e..4299d296d 100644 --- a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.C +++ b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.C @@ -28,7 +28,6 @@ #include <stdint.h> #include <fapi2.H> -#include <p9_mc_scom_addresses.H> using fapi2::FAPI2_RC_FALSE; diff --git a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.H b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.H index f36b62470..76b28b690 100644 --- a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.H +++ b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_some_ffdc.H @@ -49,6 +49,16 @@ typedef fapi2::ReturnCode (*p9_collect_some_ffdc_FP_t)(std::vector<std::shared_p extern "C" { +/// +/// @brief Sample procedure used to demonstrate FFDC collection using +/// collectFfdc tag in xml files +/// @param[in] o_ffdc_data - default parameter ffdc data returned in this +/// vector +/// @param[in] a - parameter passed from the SBE through the ffdc data buffer +/// @param[in] b - parameter passed from the SBE through the ffdc data buffer +/// +/// @return FAPI2_RC_SUCCESS iff ok +/// fapi2::ReturnCode p9_collect_some_ffdc(std::vector<std::shared_ptr<fapi2::ErrorInfoFfdc>>& o_ffdc_data, uint32_t a, uint8_t b); |