diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2015-11-04 06:16:22 -0600 |
---|---|---|
committer | Martin Peschke <mpeschke@de.ibm.com> | 2015-11-05 05:26:41 -0600 |
commit | 1bfd1c30b8c3ddd6db9491a638d4d9e55d72c1fb (patch) | |
tree | 256ed0225347698a9a75c010978f6793bae0e02e /importtemp/fapi2/include/plat/plat_error_scope.H | |
parent | 36b8d154d9b6f17326f1835ac01ea798bf45429d (diff) | |
download | talos-sbe-1bfd1c30b8c3ddd6db9491a638d4d9e55d72c1fb.tar.gz talos-sbe-1bfd1c30b8c3ddd6db9491a638d4d9e55d72c1fb.zip |
FAPI cleanup in PPE
1) Removed importtemp/fapi2
2) Removed old files from import/
3) Synced over parseErrorInfo.pl from ekb
Change-Id: Ic830b9dd86b612f7892a40fb2d3158a73940d7af
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21760
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Diffstat (limited to 'importtemp/fapi2/include/plat/plat_error_scope.H')
-rw-r--r-- | importtemp/fapi2/include/plat/plat_error_scope.H | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/importtemp/fapi2/include/plat/plat_error_scope.H b/importtemp/fapi2/include/plat/plat_error_scope.H deleted file mode 100644 index d2b22fbc..00000000 --- a/importtemp/fapi2/include/plat/plat_error_scope.H +++ /dev/null @@ -1,58 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: hwpf/fapi2/include/plat/plat_error_scope.H $ */ -/* */ -/* IBM CONFIDENTIAL */ -/* */ -/* EKB Project */ -/* */ -/* COPYRIGHT 2012,2015 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* The source code for this program is not published or otherwise */ -/* divested of its trade secrets, irrespective of what has been */ -/* deposited with the U.S. Copyright Office. */ -/* */ -/* IBM_PROLOG_END_TAG */ -/** - * @file plat_error_scope.H - * @brief platform definitions which create a scope for automatic error handling - */ - -#ifndef __FAPI2_PLAT_ERROR_SCOPE__ -#define __FAPI2_PLAT_ERROR_SCOPE__ - -/// @cond -#define PLAT_FAPI_TRY_NO_TRACE( __operation__ ) \ - if ((fapi2::current_err = (__operation__)) != fapi2::FAPI2_RC_SUCCESS) \ - { \ - goto fapi_try_exit; \ - } - -#define PLAT_FAPI_TRY_TRACE( __operation__, ... ) \ - if ((fapi2::current_err = (__operation__)) != fapi2::FAPI2_RC_SUCCESS) \ - { \ - FAPI_ERR(__VA_ARGS__); \ - goto fapi_try_exit; \ - } - -/// -/// @brief Assert a conditional is true. -/// If it is not, the FFDC gathering function is called and the -/// trace is output as a FAPI error trace. -/// @param[in] __conditional__ the condition to assert -/// @param[in] __ffdc__ the FFDC gathering function -/// @param[in] ... varargs, as input to FAPI_ERR -/// -#define PLAT_FAPI_ASSERT( __conditional__, __ffdc__, ... ) \ - if (! (__conditional__)) \ - { \ - (__ffdc__).execute(); \ - FAPI_ERR(__VA_ARGS__); \ - goto fapi_try_exit; \ - } -/// @endcond - -#endif |