summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/plat/fapiPlatReturnCodeDataRef.C
blob: 02e9caeb36b10b4fea5bffad2c51d09ffaf9eef8 (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
/**
 *  @file platReturnCodeDataRef.C
 *
 *  @brief Implements the platform part of the ReturnCodeDataRef class.
 *
 *  Note that platform code must provide the implementation. FAPI has provided
 *  an example for platforms that do not attach ReturnCodeData to a ReturnCode.
 */

#include <fapiReturnCodeDataRef.H>
#include <fapiPlatTrace.H>
#include <errl/errlentry.H>

namespace fapi
{

//******************************************************************************
// deleteData function
//******************************************************************************
void ReturnCodeDataRef::deleteData()
{
	FAPI_DBG("ReturnCodeDataRef::deleteData");

    // HostBoot platform uses iv_pData to point at an error log.
    delete (static_cast<errlHndl_t>(iv_pData));
}

}
OpenPOWER on IntegriCloud