From 47a63204d4cdd822db51dbc53a61cf0b1fed5d59 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Mon, 4 Jun 2012 12:37:35 -0500 Subject: 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 Reviewed-by: Mark W. Wenning Reviewed-by: A. Patrick Williams III --- src/include/usr/diag/attn/attn.H | 69 +++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 22 deletions(-) (limited to 'src/include/usr/diag') 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 -- cgit v1.2.1