summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn/attnsvc.H
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2013-03-07 13:47:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-03-14 22:50:31 -0500
commitd009432a0b6795148f559ab6e8efd911dc30da14 (patch)
tree731ef14a70bb3356c04d7990021cafa764818b8f /src/usr/diag/attn/attnsvc.H
parentd82bc1a19f90818ec436932d8d56d8e43f58fd8b (diff)
downloadtalos-hostboot-d009432a0b6795148f559ab6e8efd911dc30da14.tar.gz
talos-hostboot-d009432a0b6795148f559ab6e8efd911dc30da14.zip
ATTN: Size reduction, simplification
Simplify attention processing workflow. Remove unused code and associated tests. Use and/or registers where appropriate. Enable host attentions for MCS 0-3,6,7. Change-Id: Ia9a9f1eae16603eedf3b68539429a6d09694d895 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3467 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/attn/attnsvc.H')
-rw-r--r--src/usr/diag/attn/attnsvc.H71
1 files changed, 31 insertions, 40 deletions
diff --git a/src/usr/diag/attn/attnsvc.H b/src/usr/diag/attn/attnsvc.H
index 2ee84f81e..6cf70705b 100644
--- a/src/usr/diag/attn/attnsvc.H
+++ b/src/usr/diag/attn/attnsvc.H
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/usr/diag/attn/attnsvc.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
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/diag/attn/attnsvc.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012,2013 */
+/* */
+/* 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 otherwise */
+/* 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_ATTNSVC_H
#define __ATTN_ATTNSVC_H
@@ -188,22 +187,14 @@ class Service
* @brief processIntrQMsgPreAck pre EOI interrupt service message
* processing
*
- * perform the interrupt service message processing steps that must
- * be done before EOI can be sent by the interrupt service. Namely
- * resolve and mask the interrupt causing attentions.
+ * Perform the interrupt service message processing steps that must
+ * be done before EOI can be sent by the interrupt service.
*
* @post interrupt service message ready to be acknowledged
*
* @param[in] i_msg interrupt svc intr message to be processed
- * @param[out] o_attentions attentions associated with interrupt msg
- *
- * @return errlHndl_t Error log.
- *
- * @retval[0] no error
- * @retval[!0] unexpected error
*/
- errlHndl_t processIntrQMsgPreAck(const msg_t & i_msg,
- AttentionList & o_attentions);
+ void processIntrQMsgPreAck(const msg_t & i_msg);
/**
* @brief startPrdTask start task helper function
@@ -231,23 +222,23 @@ class Service
* @retval[true] shutdown requested
* @retval[false] shutdown not requested
*/
- bool prdTaskWait(AttentionList & o_attentions);
+ bool prdTaskWait();
/**
* @brief processAttentions process interrupt task wakeup
*
* call prd to analyze attentions
*
- * @post attentions analyzed by prd. attentions cleard by prd unmasked
+ * @param[i_procs] procs to check for attentions behind
*
- * @param[in] i_attentions attentions to be processed by prd
+ * @post attentions analyzed by prd. attentions cleared by prd unmasked
*/
- void processAttentions(const AttentionList & i_attentions);
+ void processAttentions(const TARGETING::TargetHandleList & i_procs);
/**
- * @brief iv_attentions all active attentions in the node
+ * @brief iv_interrupt PRD thread wakeup indicator
*/
- AttentionList iv_attentions;
+ bool iv_interrupt;
/**
* @brief iv_intrTaskQ intr task message q
OpenPOWER on IntegriCloud