summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/util
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2016-10-21 17:24:29 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2016-11-07 12:57:11 -0500
commit29b87c546a19ba0821108e0437284affe602b0a8 (patch)
tree8ec799a4ccc45fede200e15b4c22e37ec79ac360 /src/usr/diag/prdf/common/util
parenta5330febe85e79d812a12cb6e1201620c64fac62 (diff)
downloadtalos-hostboot-29b87c546a19ba0821108e0437284affe602b0a8.tar.gz
talos-hostboot-29b87c546a19ba0821108e0437284affe602b0a8.zip
PRD: add SDC support to set entire signature all at once
Change-Id: I7532804cf431ed62dd5d2945d96e46aa320928d1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31678 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32243 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/util')
-rwxr-xr-xsrc/usr/diag/prdf/common/util/prdfErrorSignature.H15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/util/prdfErrorSignature.H b/src/usr/diag/prdf/common/util/prdfErrorSignature.H
index 9ed4cd7fd..935b81796 100755
--- a/src/usr/diag/prdf/common/util/prdfErrorSignature.H
+++ b/src/usr/diag/prdf/common/util/prdfErrorSignature.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -101,6 +101,19 @@ class ErrorSignature
}
/**
+ * @brief Sets the entire signature all at once.
+ * @param i_chipId The chip's ID.
+ * @param i_sigId The signature ID.
+ */
+ void setSignature( uint32_t i_chipId, uint32_t i_sigId )
+ {
+ iv_chipId = i_chipId;
+ iv_regId = (uint16_t)(i_sigId >> 16);
+ iv_errCode = (uint16_t)(i_sigId & 0xffff);
+ TraceSignature();
+ }
+
+ /**
* @brief Sets the chip ID.
* @note Clears signature ID.
* @param i_chipId The chip's ID.
OpenPOWER on IntegriCloud