summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2018-04-04 14:16:30 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-04-18 17:24:54 -0400
commite86221ce862640b1bc72b26182ef166a75a8ef1e (patch)
tree455b090e262b5930eab37b37ea6ee6b03049059a
parent5e142e95923e84db0bb07e1b6ca85bc39eb3408b (diff)
downloadtalos-hostboot-e86221ce862640b1bc72b26182ef166a75a8ef1e.tar.gz
talos-hostboot-e86221ce862640b1bc72b26182ef166a75a8ef1e.zip
Set the runtime scom trace buffers with constants
Change-Id: I6c5e0ce2dde28210125cf698cc4c27b7fe3bdb1e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56757 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/usr/ibscom/makefile2
-rw-r--r--src/usr/ibscom/runtime/rt_ibscom.C2
-rw-r--r--src/usr/xscom/runtime/rt_xscom.C2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/ibscom/makefile b/src/usr/ibscom/makefile
index 69403562f..220344104 100644
--- a/src/usr/ibscom/makefile
+++ b/src/usr/ibscom/makefile
@@ -25,7 +25,7 @@
ROOTPATH = ../../..
MODULE = ibscom
-#include common ojects between hostboot and runtime hostboot
+#include common objects between hostboot and runtime hostboot
include ibscom.mk
OBJS += ibscom.o
diff --git a/src/usr/ibscom/runtime/rt_ibscom.C b/src/usr/ibscom/runtime/rt_ibscom.C
index d731f1acc..21561ad12 100644
--- a/src/usr/ibscom/runtime/rt_ibscom.C
+++ b/src/usr/ibscom/runtime/rt_ibscom.C
@@ -34,7 +34,7 @@
// Trace definition
trace_desc_t* g_trac_ibscom = NULL;
-TRAC_INIT(&g_trac_ibscom, "IBSCOM", 2*KILOBYTE, TRACE::BUFFER_SLOW);
+TRAC_INIT(&g_trac_ibscom, IBSCOM_COMP_NAME, 2*KILOBYTE, TRACE::BUFFER_SLOW);
namespace IBSCOM
{
diff --git a/src/usr/xscom/runtime/rt_xscom.C b/src/usr/xscom/runtime/rt_xscom.C
index cf7d40052..404753bf0 100644
--- a/src/usr/xscom/runtime/rt_xscom.C
+++ b/src/usr/xscom/runtime/rt_xscom.C
@@ -33,7 +33,7 @@
// Trace definition
trace_desc_t* g_trac_xscom = NULL;
-TRAC_INIT(&g_trac_xscom, "XSCOM", 2*KILOBYTE, TRACE::BUFFER_SLOW);
+TRAC_INIT(&g_trac_xscom, XSCOM_COMP_NAME, 2*KILOBYTE, TRACE::BUFFER_SLOW);
namespace XSCOM
{
OpenPOWER on IntegriCloud