diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2014-02-19 16:33:26 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-04-11 12:44:48 -0500 |
commit | d83e0f05717dc06edc537dcab1deb1758ba7dcf5 (patch) | |
tree | d9dc4791f8ad3f368830d31979f2b925af558246 /src/include/usr/hwpf | |
parent | 646efbab03ef380876d843f9ab244f0c08b3fda1 (diff) | |
download | talos-hostboot-d83e0f05717dc06edc537dcab1deb1758ba7dcf5.tar.gz talos-hostboot-d83e0f05717dc06edc537dcab1deb1758ba7dcf5.zip |
HB runtime OCC support for Sapphire
Change-Id: Ie730f0676fa3e35b030d88da8ce666ee61c413a3
RTC: 76683
Backport: release-fips810
CMVC-Prereq: 922520
CQ: SW256269
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9187
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf')
-rw-r--r-- | src/include/usr/hwpf/hwp/occ/occ.H | 27 | ||||
-rw-r--r-- | src/include/usr/hwpf/hwpf_reasoncodes.H | 1 |
2 files changed, 25 insertions, 3 deletions
diff --git a/src/include/usr/hwpf/hwp/occ/occ.H b/src/include/usr/hwpf/hwp/occ/occ.H index 3d1de46e0..f80c6411a 100644 --- a/src/include/usr/hwpf/hwp/occ/occ.H +++ b/src/include/usr/hwpf/hwp/occ/occ.H @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/include/usr/hwpf/hwp/occ.H $ */ +/* $Source: src/include/usr/hwpf/hwp/occ/occ.H $ */ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013 */ +/* COPYRIGHT International Business Machines Corp. 2013,2014 */ /* */ /* p1 */ /* */ @@ -23,8 +23,30 @@ #ifndef OCC_H_ #define OCC_H_ +#include <limits.h> +#include <errl/errlentry.H> + namespace HBOCC { + struct occHostConfigDataArea_t + { + uint32_t version; + uint32_t nestFrequency; + }; + + enum + { + OccHostDataVersion = 1, + OCC_LIDID = 0x81e00430, + OCC_IBSCOM_RANGE_IN_MB = MEGABYTE, + }; + + enum occAction_t + { + OCC_START, + OCC_STOP, + }; + /** * @brief Starts OCCs on all Processors in the node * This is intended to be used for AVP testing. @@ -33,7 +55,6 @@ namespace HBOCC { */ errlHndl_t loadnStartAllOccs(); - } //end OCC namespace #endif diff --git a/src/include/usr/hwpf/hwpf_reasoncodes.H b/src/include/usr/hwpf/hwpf_reasoncodes.H index e3d41c75d..36b74686b 100644 --- a/src/include/usr/hwpf/hwpf_reasoncodes.H +++ b/src/include/usr/hwpf/hwpf_reasoncodes.H @@ -117,6 +117,7 @@ namespace fapi RC_HOST_TIMER_EXPIRED = HWPF_COMP_ID | 0x2A, RC_HOST_TIMER_THREAD_FAIL = HWPF_COMP_ID | 0x2B, RC_NULL_POINTER = HWPF_COMP_ID | 0x2C, + RC_RT_WAKEUP_FAILED = HWPF_COMP_ID | 0x2D, }; |