diff options
author | Missy Connell <missyc@us.ibm.com> | 2012-10-29 13:55:23 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-11-09 08:51:25 -0600 |
commit | 0db3db91302876adc4490b9c3c1ff10945b38044 (patch) | |
tree | 3ec7d6bd4730420e7103bb0b6b326c01f295092d /src/include/kernel/terminate.H | |
parent | ed66b035444144109e66283e4b97087b918c6b93 (diff) | |
download | talos-hostboot-0db3db91302876adc4490b9c3c1ff10945b38044.tar.gz talos-hostboot-0db3db91302876adc4490b9c3c1ff10945b38044.zip |
Terminate Immediate on a shutdown and assert
Change-Id: I37c8956afb11c69201f4936821cff5e153327780
RTC:43793
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2194
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel/terminate.H')
-rw-r--r-- | src/include/kernel/terminate.H | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/src/include/kernel/terminate.H b/src/include/kernel/terminate.H index db93a1b0b..3cedf6a72 100644 --- a/src/include/kernel/terminate.H +++ b/src/include/kernel/terminate.H @@ -28,18 +28,30 @@ #include <kernel/types.h> -/** @fn terminateAndUpdateSaveArea - * Update TI data area with src or PLID and force a TI - * @param[in] i_type : indicates if an src or plid is stored + +/** @fn terminateExecuteTI + * @brief Sequence to execute a TI attn + */ +void terminateExecuteTI(); + +/** @fn termWritePlid + * Update TI data area with a PLID. * @param[in] i_source: indicates what type of fail forced the TI - * @param[in] *i_src: SRC to be stored * @param[in] i_plid: plid to be stored * @param[out] NONE: */ -void terminateAndUpdateSaveArea(uint16_t i_type, - uint16_t i_source, - uint64_t *i_src, - uint64_t plid = 0); - +void termWritePlid(uint16_t i_source, uint64_t plid); + +/** @fn termWriteSRC + * Create an SRC and Update the TI data area with the src created + * @param[in] i_source: indicates what type of fail forced the TI + * @param[in] i_reasoncode: reasoncode for the failure(assert or shutdown) + * @param[in] i_failAddr: i_linkRegister() value (address of failure) + * @param[out] NONE: + */ +void termWriteSRC(uint16_t i_source, + uint16_t i_reasoncode, + uint64_t i_failAddr = 0); + #endif |