summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/xmltohb.pl
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-05-03 08:02:33 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-03 11:58:18 -0400
commit577a882515e3f67badcd1feb3709e309ea92595e (patch)
tree53baaa495c1d95f5a7412edaaaa610e8cc650976 /src/usr/targeting/common/xmltohb/xmltohb.pl
parente25cdfbbcf74259ba88cc664b0fe1f9598bf5f80 (diff)
downloadtalos-hostboot-577a882515e3f67badcd1feb3709e309ea92595e.tar.gz
talos-hostboot-577a882515e3f67badcd1feb3709e309ea92595e.zip
Attributes for memory_mcs_attributes.xml
Added a couple definitions to our xml Also had to add a hack to disable some of the generated code in errludattribute.C to get back under the HBB size limit. Change-Id: I7c49c733402afe9f46a03714231b922430cd4789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24008 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/xmltohb.pl')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/xmltohb.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl
index 5dae19052..74060fe96 100755
--- a/src/usr/targeting/common/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/common/xmltohb/xmltohb.pl
@@ -2005,6 +2005,7 @@ sub writeAttrErrlCFile {
print $outFile " char *tmpBuffer = NULL;\n";
print $outFile " uint32_t attrSize = 0;\n";
print $outFile "\n";
+ print $outFile "#if 0 //\@fixme-RTC:152874\n";
print $outFile " switch (i_attr) {\n";
# loop through every attribute to make the swith/case
@@ -2111,6 +2112,8 @@ sub writeAttrErrlCFile {
print $outFile " }\n";
print $outFile " } //switch\n";
print $outFile "\n";
+ print $outFile "#endif //\@fixme-RTC:152874\n";
+
print $outFile " // if we generated one, copy the string into the buffer\n";
print $outFile " if (attrSize) { // we have something to output\n";
print $outFile " // resize buffer and copy string into it\n";
OpenPOWER on IntegriCloud