From 240f26001382001974fff7d62367e58df3f7b1db Mon Sep 17 00:00:00 2001 From: Bill Hoffa Date: Mon, 10 Apr 2017 14:43:51 -0500 Subject: Include HUID of failed Proc in TI data for certain SBE errors - Include a generic error pipleline for other future error scenarios to leverage this functionality Change-Id: Icc1399ee93157c7106d394944a3355285a8cd830 RTC: 171865 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39072 Reviewed-by: Martin Gloff Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta Reviewed-by: Daniel M. Crowell --- src/include/usr/initservice/initserviceif.H | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/include/usr/initservice') diff --git a/src/include/usr/initservice/initserviceif.H b/src/include/usr/initservice/initserviceif.H index c8d98ce35..d469167b6 100644 --- a/src/include/usr/initservice/initserviceif.H +++ b/src/include/usr/initservice/initserviceif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -123,6 +123,8 @@ bool unregisterShutdownEvent(msg_q_t i_msgQ); * Needed when starting payload * on multi-node system. * + * @param[in] i_error_info - Add'tl error data to be included in TI data area + * * @return Nothing * * @note If inBackground = true, the shutdown call will spawn a child task @@ -135,7 +137,20 @@ void doShutdown ( uint64_t i_status, uint64_t i_payload_base = 0, uint64_t i_payload_entry = 0, uint64_t i_payload_data = 0, - uint64_t i_masterHBInstance = THIS_NODE_NO_PAYLOAD); + uint64_t i_masterHBInstance = THIS_NODE_NO_PAYLOAD, + uint32_t i_error_info =0); + +/** + * @brief Wrapper function to perform shutdown including error data + * provided in the TI area. This function calls doShutdown() with + * the appropriate default parms. + * + * @param[in] i_status - Shutdown status to be passed along on shutdown + * @param[in] i_error_info - Add'tl error data to be included in TI data area + * + * @return Nothing + */ +void doShutdownWithError ( uint64_t i_status, uint32_t i_error_info); /** * @brief Returns if Service Processor Base Services are available -- cgit v1.2.1