summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-10-26 16:00:06 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-28 18:02:22 -0500
commitc7f00b4ca316fa8296f350cddb7149c09fa21551 (patch)
treec02c67d4b156bad5a878a016a87707d04aca7723 /src/usr/hwpf
parent4a7ba9375bd6e5053d30113c2fc4f764500191f6 (diff)
downloadblackbird-hostboot-c7f00b4ca316fa8296f350cddb7149c09fa21551.tar.gz
blackbird-hostboot-c7f00b4ca316fa8296f350cddb7149c09fa21551.zip
HWPF: Minor fix to fapiParseErrorInfo.pl for Cronus compile failure
Change-Id: I7614b96e58a6685d44b2e2600b4c148674170006 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2144 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf')
-rwxr-xr-xsrc/usr/hwpf/fapi/fapiParseErrorInfo.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
index 68055799d..1b30df0c3 100755
--- a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
+++ b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
@@ -50,6 +50,7 @@
# mjjones 06/27/12 Add assembler output for SBE usage
# mjjones 09/19/12 Generate FFDC ID enumeration
# Generate fapiCollectRegFfdc.C file
+# mjjones 10/23/12 Minor fix for Cronus compile failure
#
# End Change Log ******************************************************
@@ -265,7 +266,8 @@ print CRFILE "#include <ecmdDataBufferBase.H>\n";
print CRFILE "#include <fapiCollectRegFfdc.H>\n";
print CRFILE "#include <fapiTarget.H>\n";
print CRFILE "#include <fapiReturnCode.H>\n";
-print CRFILE "#include <fapiHwAccess.H>\n\n";
+print CRFILE "#include <fapiHwAccess.H>\n";
+print CRFILE "#include <fapiPlatTrace.H>\n\n";
print CRFILE "namespace fapi\n";
print CRFILE "{\n";
print CRFILE "void fapiCollectRegFfdc(const fapi::Target & i_target,\n";
@@ -607,9 +609,9 @@ print CRFILE " {\n";
print CRFILE " l_rc = fapiGetScom(i_target, l_scomAddresses[i], l_buf);\n";
print CRFILE " if (l_rc)\n";
print CRFILE " {\n";
-print CRFILE " FAPI_ERR(\"fapiCollectRegFfdc.C: SCOM error for 0x%x\",";
+print CRFILE " FAPI_ERR(\"fapiCollectRegFfdc.C: SCOM error for 0x%llx\",";
print CRFILE "l_scomAddresses[i]);\n";
-print CRFILE " l_scomData = 0xbaddbaddbaddbadd;\n";
+print CRFILE " l_scomData = 0xbaddbaddbaddbaddULL;\n";
print CRFILE " }\n";
print CRFILE " else\n";
print CRFILE " {\n";
OpenPOWER on IntegriCloud