summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn/runtime/attn_rt.C
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2014-08-21 21:48:36 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-03 10:46:43 -0600
commit605137529b178862bf2c28ea3c3da4fb48394991 (patch)
tree9ef0d3c4de57d3abd62ef79a0f73adf4df0c71ae /src/usr/diag/attn/runtime/attn_rt.C
parent884df0a961451b7b00d99e07512b19f801ee7587 (diff)
downloadtalos-hostboot-605137529b178862bf2c28ea3c3da4fb48394991.tar.gz
talos-hostboot-605137529b178862bf2c28ea3c3da4fb48394991.zip
ATTN: code re-org in preparation for HBRT support
Change-Id: I100fafcfc794e8828e992438bacf8303a029a566 RTC: 110949 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12949 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/attn/runtime/attn_rt.C')
-rw-r--r--src/usr/diag/attn/runtime/attn_rt.C56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/usr/diag/attn/runtime/attn_rt.C b/src/usr/diag/attn/runtime/attn_rt.C
new file mode 100644
index 000000000..0fcddc386
--- /dev/null
+++ b/src/usr/diag/attn/runtime/attn_rt.C
@@ -0,0 +1,56 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/diag/attn/runtime/attn_rt.C $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2014 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+
+#include "common/attntrace.H"
+#include <runtime/interface.h>
+#include <runtime/rt_targeting.H>
+#include <targeting/common/target.H>
+#include <targeting/common/targetservice.H>
+#include <targeting/common/utilFilter.H>
+#include <errl/errlentry.H>
+#include <errl/errlmanager.H>
+#include <errno.h>
+
+using namespace std;
+using namespace TARGETING;
+using namespace ATTN;
+
+namespace ATTN_RT
+{
+ // enableAttns() and handleAttns()
+ // will be added later on.
+
+ // will be used to register runtimeInterfaces
+ struct registerAttn
+ {
+ registerAttn()
+ {
+ ATTN_FAST("registerAttn");
+ }
+ };
+
+ registerAttn g_registerAttn;
+}
+
OpenPOWER on IntegriCloud