blob: 5c9ffc7d5e14790468678399c6b768505f8a2400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/**
* @file fapiTestHwpFfdc.C
*
* @brief Implements a simple test Hardware Procedure that collects FFDC data
*/
/*
* Change Log ******************************************************************
* Flag Defect/Feature User Date Description
* ------ -------------- ---------- ----------- ----------------------------
* mjjones 08/08/2011 Created.
*
*/
#include <fapiTestHwpFfdc.H>
extern "C"
{
//******************************************************************************
// hwpTestFfdc1 function
//******************************************************************************
fapi::ReturnCode hwpTestFfdc1(const fapi::Target & i_target,
fapi::TestFfdc1 & o_ffdc)
{
FAPI_INF("Performing FFDC HWP: hwpTestFfdc1");
// Just set data to output structure. A real FFDC HWP would do a hardware
// access to get FFDC
fapi::ReturnCode l_rc;
o_ffdc.iv_data = 0x11223344;
return l_rc;
}
} // extern "C"
|