summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_occ.H
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2016-11-11 13:41:39 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-12-20 10:18:14 -0500
commit7dda46520f92461d350830f99ef1d3734272c2a8 (patch)
treea9bfd45db9f58e895f4e66563e2cce6264f0ca26 /src/usr/htmgt/htmgt_occ.H
parentbdf8d5b8b6ab68f1882d18b1fad721f465b8aa74 (diff)
downloadtalos-hostboot-7dda46520f92461d350830f99ef1d3734272c2a8.tar.gz
talos-hostboot-7dda46520f92461d350830f99ef1d3734272c2a8.zip
HTMGT: Checkpoint Changes
Change-Id: Ic9c61b7bc15221e70cc6e4861f2d0861a606b6fe RTC:160613 Depends-on: I6182163e569ac97f06e3ddfbb69deab90e849de3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@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/usr/htmgt/htmgt_occ.H')
-rw-r--r--src/usr/htmgt/htmgt_occ.H14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/htmgt/htmgt_occ.H b/src/usr/htmgt/htmgt_occ.H
index 869378146..afd8b01e1 100644
--- a/src/usr/htmgt/htmgt_occ.H
+++ b/src/usr/htmgt/htmgt_occ.H
@@ -40,6 +40,11 @@ namespace HTMGT
const uint32_t OCC_POLL_DATA_MIN_SIZE = 40;
+ const uint16_t OCC_COMM_INIT_COMPLETE = 0x0EFF;
+
+ const uint16_t OCC_INIT_FAILURE = 0xE000;
+
+ const uint16_t OCC_TRACE_BUFFER_SIZE = 0x2000;
enum occStateId
{
@@ -275,6 +280,15 @@ namespace HTMGT
*/
void collectCheckpointScomData(errlHndl_t i_err);
+ /**
+ * @brief Add OCC trace buffers to given error log (ERR, IMP, INF)
+ *
+ * @param[in,out] - the error log handle to add user data for
+ */
+ void addOccTrace( errlHndl_t & io_errl );
+
+
+
private: // functions
OpenPOWER on IntegriCloud