summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf
diff options
context:
space:
mode:
authorBrian Stegmiller <bjs@us.ibm.com>2017-08-25 14:45:32 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-09-01 04:35:32 -0400
commit0f8a6dbe56f252017e002f41beb76576234fe1eb (patch)
tree34645100958f6c503dc4404fb3568a66e56b9936 /src/import/hwpf
parent75774da208af3f0eba8830025b53e7cdd5775283 (diff)
downloadtalos-sbe-0f8a6dbe56f252017e002f41beb76576234fe1eb.tar.gz
talos-sbe-0f8a6dbe56f252017e002f41beb76576234fe1eb.zip
EKB: HWP Fail Isolation Fapi Hooks
Change-Id: I67a30a6a5bf0af4db40d85ec6406481dd286bb75 RTC: 178331 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45165 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45183 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/hwpf')
-rw-r--r--src/import/hwpf/fapi2/include/utils.H21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/import/hwpf/fapi2/include/utils.H b/src/import/hwpf/fapi2/include/utils.H
index 4f358fe0..1d08cb6f 100644
--- a/src/import/hwpf/fapi2/include/utils.H
+++ b/src/import/hwpf/fapi2/include/utils.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -128,7 +128,26 @@ void createPlatLog(
fapi2::ReturnCode& io_rc,
fapi2::errlSeverity_t i_sev = fapi2::FAPI2_ERRL_SEV_UNRECOVERABLE
);
+
+///
+/// @brief Associate an error to PRD PLID
+///
+/// @param[in] i_target Reference to target
+/// @param[in,out] io_rc Reference to ReturnCode
+/// @param[in] i_sev Fapi error log severity defaulted to unrecoverable
+/// @param[in] i_unitTestError - flag to log error which does not cause a unit
+/// test to fail.
+///
+/// @note Implemented by platform code
+///
+void log_related_error(
+ const Target<TARGET_TYPE_ALL>& i_target,
+ fapi2::ReturnCode& io_rc,
+ const fapi2::errlSeverity_t i_sev = fapi2::FAPI2_ERRL_SEV_UNRECOVERABLE,
+ const bool i_unitTestError = false );
+
#endif // __PPE__
+
///
/// @brief Delay this thread. Hostboot will use the nanoseconds parameter
/// and make a syscall to nanosleep. While in the syscall, the hostboot
OpenPOWER on IntegriCloud