summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-12-10 13:37:30 -0600
committerWilliam G Hoffa <wghoffa@us.ibm.com>2020-01-07 13:22:21 -0600
commit91f6cf7412ed2fc0a5c0ec50245c44bf3ee5219c (patch)
tree9cf11ec84dbd532f5f8c574a70a55dbed2e65b91 /src/usr/targeting/common
parent4198ffbc2ae5404b05baff55be8e6f39578389cc (diff)
downloadtalos-hostboot-91f6cf7412ed2fc0a5c0ec50245c44bf3ee5219c.tar.gz
talos-hostboot-91f6cf7412ed2fc0a5c0ec50245c44bf3ee5219c.zip
Enhancements to default console output
Added the following pieces of extra information to the default console output: -- Attribute Overrides -- 3.49165|**Found 24 attribute overrides in Tank FAPI(1) 3.49169|- PEC:n0:p0:c0 3.49171| ATTR 0EB604DF [1] = 00 3.49174| ATTR 085F1C7E [1] = 00 3.49177| ATTR 048A8902 [1] = 01 3.49180| ATTR 04D8DF8D [2] = 0000 3.49182|- PEC:n0:p0:c1 3.49185| ATTR 0EB604DF [1] = 00 3.49188| ATTR 085F1C7E [1] = 00 3.49191| ATTR 048A8902 [1] = 03 -- New part detection -- 4.97449|Detected new part : 00030002 (Physical:/Sys0/Node0/DIMM2) -- Applying GARD records -- 8.78767|HWAS|Applying GARD record for HUID=0x000E0000 (Physical:/Sys0/Node0/Pr oc0/XBUS0) due to 0x90000135 8.78912|HWAS|Deconfig HUID 0x000E0000, Physical:/Sys0/Node0/Proc0/XBUS0 Change-Id: Ic2ae04515453dbb49e359abff952c87c83e23b72 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88388 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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: William G Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/attributeTank.C19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/usr/targeting/common/attributeTank.C b/src/usr/targeting/common/attributeTank.C
index 0d8db2867..c6cad3c49 100644
--- a/src/usr/targeting/common/attributeTank.C
+++ b/src/usr/targeting/common/attributeTank.C
@@ -637,4 +637,23 @@ size_t AttributeTank::size() const
return iv_attributes.size();
}
+//******************************************************************************
+void AttributeTank::getAllAttributes( std::list<Attribute *>& o_attributes ) const
+{
+ o_attributes = iv_attributes;
}
+
+//******************************************************************************
+const char* AttributeTank::layerToString( TankLayer i_layer )
+{
+ switch(i_layer)
+ {
+ case(AttributeTank::TANK_LAYER_FAPI): return "FAPI";
+ case(AttributeTank::TANK_LAYER_TARG): return "TARG";
+ case(AttributeTank::TANK_LAYER_PERM): return "PERM";
+ default: return "UNKNOWN";
+ }
+}
+
+}
+
OpenPOWER on IntegriCloud