diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2017-11-27 10:24:27 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-04-13 12:33:21 -0400 |
| commit | 21080c6885b10977d4a1fe51e2dba79cb67d26c8 (patch) | |
| tree | 8d72c6c5b363788968bb47c8b67a9e8577b6dd83 /src/include/usr/initservice | |
| parent | afb0e6a438eeda79822dd1dde73b98e6a87fde5b (diff) | |
| download | blackbird-hostboot-21080c6885b10977d4a1fe51e2dba79cb67d26c8.tar.gz blackbird-hostboot-21080c6885b10977d4a1fe51e2dba79cb67d26c8.zip | |
Log Hostboot state information in all error logs
Add the Istep number and substep number to Hostboot Error Logs
to assist in problem debug. These items will be added as a user
data record to all Hostboot Error Logs prior to Runtime.
Change-Id: Ib5d269f3c1853d6d6856669744630dc130fa7094
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54764
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/initservice')
| -rw-r--r-- | src/include/usr/initservice/initserviceif.H | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/include/usr/initservice/initserviceif.H b/src/include/usr/initservice/initserviceif.H index 8251bdb94..d2d61c4bd 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,2017 */ +/* Contributors Listed Below - COPYRIGHT 2011,2018 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -175,6 +175,26 @@ inline bool spBaseServicesEnabled() return spBaseServicesEnabled; } + + +/** + * @brief Save Istep Step and Substep for use by error logging + * @param[in] i_step, Istep Step + * @param[in] i_subStep, Istep subStep + * @return none + */ +void ShadowIstepData( uint8_t i_step, + uint8_t i_subStep ); + +/** + * @brief Extract Istep Step and Substep + * @param[out] o_step, Istep Step + * @param[out] o_subStep, Istep subStep + * @return none + */ +void GetIstepData( uint8_t & o_step, + uint8_t & o_subStep ); + } |

