diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2016-12-28 15:11:49 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-01-20 21:39:53 -0500 |
commit | 1335057e33390c0ee3d24b537afc9d9c9dbe0a54 (patch) | |
tree | 3900f54a42415a7bdce63329a7eb04eb7aec4c0c /src/include | |
parent | cf8fcc043860d45684db89af0f1ccbe4cec99245 (diff) | |
download | blackbird-hostboot-1335057e33390c0ee3d24b537afc9d9c9dbe0a54.tar.gz blackbird-hostboot-1335057e33390c0ee3d24b537afc9d9c9dbe0a54.zip |
Bootloader - Error handling - Add exception handling
As a second step for Bootloader error handling add support for various
exception vectors and handle these exceptions by calling the terminate
function.
Change-Id: Ib39818fff377da3fa93d32112f629238a82625ad
RTC:135746
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34239
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/bootloader/hbblreasoncodes.H | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/include/bootloader/hbblreasoncodes.H b/src/include/bootloader/hbblreasoncodes.H index 502b74bcf..10a6ebbf5 100644 --- a/src/include/bootloader/hbblreasoncodes.H +++ b/src/include/bootloader/hbblreasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -60,13 +60,16 @@ namespace Bootloader { RC_ASSERT = HBBL_COMP_ID | 0x01, /**< Assert */ RC_SHUTDOWN = HBBL_COMP_ID | 0x02, /**< Shutdown */ - RC_UNHANDLED_EX = HBBL_COMP_ID | 0x03, /**< Unhandled Exception */ - RC_REMOVE_ECC_FAIL = HBBL_COMP_ID | 0x04, /**< Remove ECC Failed */ - RC_CHK_NULL_BUFFER = HBBL_COMP_ID | 0x05, /**< Check for NULL Buffr */ - RC_HDR_CHECKSUM_ERR = HBBL_COMP_ID | 0x06, /**< Hdr Checksum Error */ - RC_CHECK_HEADER_ERR = HBBL_COMP_ID | 0x07, /**< Check Header Error */ - RC_PARSE_ENTRIES_ERR = HBBL_COMP_ID | 0x08, /**< Parse Entries Error */ - RC_NO_HBB_IN_TOC = HBBL_COMP_ID | 0x09, /**< No HBB Sect in TOC */ + RC_STD_EXCEPTION = HBBL_COMP_ID | 0x03, /**< Standard Exception */ + RC_STD_EX_W_DSISR = HBBL_COMP_ID | 0x04, /**< Std Except w/ DSISR */ + RC_STD_EX_W_SRR1 = HBBL_COMP_ID | 0x05, /**< Std Except w/ SRR1 */ + RC_HYPE_EXCEPTION = HBBL_COMP_ID | 0x06, /**< Hypervisor Exception */ + RC_REMOVE_ECC_FAIL = HBBL_COMP_ID | 0x07, /**< Remove ECC Failed */ + RC_CHK_NULL_BUFFER = HBBL_COMP_ID | 0x08, /**< Check for NULL Buffr */ + RC_HDR_CHECKSUM_ERR = HBBL_COMP_ID | 0x09, /**< Hdr Checksum Error */ + RC_CHECK_HEADER_ERR = HBBL_COMP_ID | 0x0A, /**< Check Header Error */ + RC_PARSE_ENTRIES_ERR = HBBL_COMP_ID | 0x0B, /**< Parse Entries Error */ + RC_NO_HBB_IN_TOC = HBBL_COMP_ID | 0x0C, /**< No HBB Sect in TOC */ }; }; // end Bootloader |