diff options
author | Mark Wenning <wenning@us.ibm.com> | 2011-11-07 11:53:10 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-11-16 11:49:13 -0600 |
commit | 1e3a888edab060be5b016aff86a5d547b5be6643 (patch) | |
tree | 58c80102de769ab705ba0cfd85ee5efd7ec48fa2 /src/include/sys/misc.h | |
parent | b5e455d063830a51f8282b5c0e857d14dedbaad3 (diff) | |
download | blackbird-hostboot-1e3a888edab060be5b016aff86a5d547b5be6643.tar.gz blackbird-hostboot-1e3a888edab060be5b016aff86a5d547b5be6643.zip |
RTC4319: Shutdown if IStep fails
- add macro to report error to testHWP.C
- new TASKARGS macros (prepare for join change)
- istep dispatcher, extinitsvc and initsvc now call shutdown()
- pass error codes to parent task
- fix errorlog tags, see RTC3840
- added ErrlUserDetails module, mostly for debug
- review fixes
Change-Id: Ib5009f1bf0f7657d4da5bd6d1ecf64e6113b3383
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/486
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys/misc.h')
-rw-r--r-- | src/include/sys/misc.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h index bb9d177ad..8c90b2363 100644 --- a/src/include/sys/misc.h +++ b/src/include/sys/misc.h @@ -25,6 +25,22 @@ #include <stdint.h> +/** + * @enum ShutdownStatus + * + * Shutdown values for shutdown command. + */ + +enum ShutdownStatus +{ + SHUTDOWN_STATUS_GOOD = 0x01230000, + SHUTDOWN_STATUS_UT_FAILED = 0x01230001, + SHUTDOWN_STATUS_ISTEP_FAILED = 0x01230002, + SHUTDOWN_STATUS_EXTINITSVC_FAILED = 0x01230003, + SHUTDOWN_STATUS_INITSVC_FAILED = 0x01230004, +}; + + #ifdef __cplusplus extern "C" { |