summaryrefslogtreecommitdiffstats
path: root/src/include/usr/diag
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2012-06-04 12:37:35 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-15 12:35:28 -0500
commit47a63204d4cdd822db51dbc53a61cf0b1fed5d59 (patch)
tree51325c154196e06fa6476ae044ef0d9bf9a666eb /src/include/usr/diag
parenta053cf0e2dc4dda37598702f263d5e1e192bc71c (diff)
downloadtalos-hostboot-47a63204d4cdd822db51dbc53a61cf0b1fed5d59.tar.gz
talos-hostboot-47a63204d4cdd822db51dbc53a61cf0b1fed5d59.zip
Start attention handler before running memory diagnostics.
Change-Id: Ieffba1f1b52890feb01dc7ec0766f5ebcf0b6660 RTC: 44961 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1381 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/diag')
-rw-r--r--src/include/usr/diag/attn/attn.H69
1 files changed, 47 insertions, 22 deletions
diff --git a/src/include/usr/diag/attn/attn.H b/src/include/usr/diag/attn/attn.H
index 6b553e35b..f13643ef8 100644
--- a/src/include/usr/diag/attn/attn.H
+++ b/src/include/usr/diag/attn/attn.H
@@ -1,25 +1,26 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/include/usr/diag/attn/attn.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2012
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG
+ * This is an automatically generated prolog.
+ *
+ * $Source: src/include/usr/diag/attn/attn.H $
+ *
+ * IBM CONFIDENTIAL
+ *
+ * COPYRIGHT International Business Machines Corp. 2012
+ *
+ * p1
+ *
+ * Object Code Only (OCO) source materials
+ * Licensed Internal Code Source Materials
+ * IBM HostBoot Licensed Internal Code
+ *
+ * The source code for this program is not published or other-
+ * wise divested of its trade secrets, irrespective of what has
+ * been deposited with the U.S. Copyright Office.
+ *
+ * Origin: 30
+ *
+ * IBM_PROLOG_END_TAG
+ */
#ifndef __ATTN_ATTN_H
#define __ATTN_ATTN_H
@@ -32,5 +33,29 @@
namespace ATTN
{
+/**
+ * @brief startService Start the HB attention handler service.
+ *
+ * Registers with Interrupt Service for callback for attention
+ * or host type interrupts.
+ *
+ * @retval[0] No error occurred.
+ * @retval[1] Unexpected error occurred.
+ */
+errlHndl_t startService();
+
+/**
+ * @brief stopService Stop the HB attention handler service.
+ *
+ * Stop background threads and unregister from Interrupt Service
+ * Attention or host type interrupt messages. Waits for completion of
+ * any in-progress attention analysis.
+ *
+ * @post All resources reclaimed, no outstanding attentions.
+ *
+ * @retval[0] No error occurred.
+ * @retval[1] Unexpected error occurred.
+ */
+errlHndl_t stopService();
}
#endif
OpenPOWER on IntegriCloud