diff options
author | Chris Cain <cjcain@us.ibm.com> | 2016-08-11 16:10:39 -0500 |
---|---|---|
committer | Christopher J. Cain <cjcain@us.ibm.com> | 2016-08-25 15:50:59 -0400 |
commit | 9600645dd82bfde4f5bc71ddc578bdab914efa14 (patch) | |
tree | 950b9a490ff62f5b3116bf1fa2552f5927f1f8c4 /src/occ_405/incl | |
parent | cc748872bec8ece3814ff35a89d6ac66494eca9a (diff) | |
download | talos-occ-9600645dd82bfde4f5bc71ddc578bdab914efa14.tar.gz talos-occ-9600645dd82bfde4f5bc71ddc578bdab914efa14.zip |
Checkpoint improvements
Change-Id: I08d76ac1db6e425a9690864f693f36cb848cead5
RTC: 153965
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28188
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
Diffstat (limited to 'src/occ_405/incl')
-rwxr-xr-x | src/occ_405/incl/occ_common.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/occ_405/incl/occ_common.h b/src/occ_405/incl/occ_common.h index ceb3757..2ab096c 100755 --- a/src/occ_405/incl/occ_common.h +++ b/src/occ_405/incl/occ_common.h @@ -232,6 +232,14 @@ do { \ .endm #endif /* __ASSEMBLER__ */ +// Commit specified error and then halt the 405 with Initialization Failure +#define CHECKPOINT_FAIL_AND_HALT(elog) \ +{ \ + setErrlActions(elog, ERRL_ACTIONS_RESET_REQUIRED); \ + commitErrl(&elog); \ + OCC_HALT(ERRL_RC_OCC_INIT_FAILURE); \ +} + // Unique checkpoints enum { @@ -261,8 +269,9 @@ enum CMDH_THREAD_STARTED = 0x0dff, INIT_OCB = 0x0e05, OCB_INITIALIZED = 0x0e07, - FSP_COMM_INITIALIZED = 0x0eff, + COMM_INIT_COMPLETED = 0x0eff, ABOUT_TO_HALT = 0x0f00, + COMM_INIT_FAILURE = 0xeeff, }; // Checkpoint flags (one byte bitmap) |