summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/tod_init/proc_tod_init
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/hwp/tod_init/proc_tod_init')
-rw-r--r--src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C b/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
index e4a6f0a48..7c702acab 100644
--- a/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
+++ b/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
@@ -22,7 +22,7 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: proc_tod_init.C,v 1.9 2014/04/04 20:53:11 jmcgill Exp $
+// $Id: proc_tod_init.C,v 1.10 2014/07/09 18:20:13 jklazyns Exp $
//------------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2012
// *! All Rights Reserved -- Property of IBM
@@ -348,6 +348,22 @@ fapi::ReturnCode init_tod_node(const tod_topology_node* i_tod_node)
break;
}
+ FAPI_INF("init_tod_node: set error mask to runtime configuration");
+ rc_ecmd |= data.flushTo0();
+ rc_ecmd |= data.setWord(1,0x03F00000); // Mask TTYPE received informational bits 38:43
+ if (rc_ecmd)
+ {
+ FAPI_ERR("init_tod_node: Error 0x%08X in ecmdDataBuffer setup for TOD_ERROR_MASK_STATUS_REG_00040032 SCOM.", rc_ecmd);
+ rc.setEcmdError(rc_ecmd);
+ break;
+ }
+ rc = fapiPutScom(*target, TOD_ERROR_MASK_STATUS_REG_00040032, data);
+ if (!rc.ok())
+ {
+ FAPI_ERR("init_tod_node: Could not write TOD_ERROR_MASK_STATUS_REG_00040032");
+ break;
+ }
+
// Finish configuring downstream nodes
for (std::list<tod_topology_node*>::const_iterator child = (i_tod_node->i_children).begin();
child != (i_tod_node->i_children).end();
OpenPOWER on IntegriCloud