diff options
author | Mike Jones <mjjones@us.ibm.com> | 2011-10-17 11:18:37 -0500 |
---|---|---|
committer | MIKE J. JONES <mjjones@us.ibm.com> | 2011-10-17 11:29:22 -0500 |
commit | c728faf93232e211ebd59ce830ed54bea1698917 (patch) | |
tree | 458279af49d46af6dbdd0fdd9e660f6572fe82e1 /src/usr/hwpf/plat | |
parent | 0edaa15a20f8986a80d0c819dfa11648ef4f0d9e (diff) | |
download | talos-hostboot-c728faf93232e211ebd59ce830ed54bea1698917.tar.gz talos-hostboot-c728faf93232e211ebd59ce830ed54bea1698917.zip |
HWPF: Change Util functions to have C symbols
Change-Id: I759cf5f5163fd61ab87abdd80315d48f22215a2c
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/437
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Tested-by: Jenkins Server
Diffstat (limited to 'src/usr/hwpf/plat')
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatUtil.C | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatUtil.C b/src/usr/hwpf/plat/fapiPlatUtil.C index 291d3fb23..fd989e398 100644 --- a/src/usr/hwpf/plat/fapiPlatUtil.C +++ b/src/usr/hwpf/plat/fapiPlatUtil.C @@ -54,7 +54,7 @@ TRAC_INIT(&g_fapiErrTd, FAPI_ERR_TRACE_NAME, 4096); TRAC_INIT(&g_fapiDbgTd, FAPI_DBG_TRACE_NAME, 4096); TRAC_INIT(&g_fapiScanTd, FAPI_SCAN_TRACE_NAME, 4096); -namespace fapi +extern "C" { //****************************************************************************** @@ -92,7 +92,7 @@ fapi::ReturnCode fapiDelay(uint64_t i_nanoSeconds, uint64_t i_simCycles) //****************************************************************************** // fapiLogError //****************************************************************************** -void fapiLogError(ReturnCode & io_rc) +void fapiLogError(fapi::ReturnCode & io_rc) { errlHndl_t l_pError = NULL; @@ -108,12 +108,6 @@ void fapiLogError(ReturnCode & io_rc) errlCommit(l_pError); } - - - - - - //**************************************************************************** // platform-level implementation @@ -127,14 +121,11 @@ bool platIsScanTraceEnabled() //**************************************************************************** // platform-level implementation -void platSetScanTrace( bool i_enable ) +void platSetScanTrace(bool i_enable) { // TODO: enable or disable scan trace via the SCAN trace buffer. Camvan // has not pushed the code yet. return; } - - - -} // namespace fapi +} |