summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/framework
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2017-01-31 15:42:10 -0600
committerZane C. Shelley <zshelle@us.ibm.com>2017-02-10 17:35:26 -0500
commit7259e7a29c2923bd20084a7a243f174c983da752 (patch)
tree0666106ede1306886f1adb40519e194f3eadaac0 /src/usr/diag/prdf/common/framework
parentbcccf4a71ae389dd34a3c8d2a4ac162318c6991c (diff)
downloadtalos-hostboot-7259e7a29c2923bd20084a7a243f174c983da752.tar.gz
talos-hostboot-7259e7a29c2923bd20084a7a243f174c983da752.zip
PRD: removed BitStringOffset class
It was never really used for its purpose outside of the BitString class. So created a new BitString contructor and removed the class. Change-Id: I1c946d2969586716f271c081ae6fcbec5e0d66c2 RTC: 167819 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35692 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36205 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/framework')
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h2
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/register/prdfCaptureData.C2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h b/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h
index 99b6fc509..e74bdb6e3 100755
--- a/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h
+++ b/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h
@@ -45,7 +45,7 @@
// {
// ErrorRegisterMask erm(scr,resMap);
// uint32_t mask_data[] = {0x00000000, 0xFFFFFFFF};
-// erm.SetMaskBits(BIT_STRING_ADDRESS_CLASS(0,64,mask_data));
+// erm.SetMaskBits(BitString(64,mask_data));
// ...
// int32_t rc = er.Analyze(error_data);
// ...
diff --git a/src/usr/diag/prdf/common/framework/register/prdfCaptureData.C b/src/usr/diag/prdf/common/framework/register/prdfCaptureData.C
index 7b94791b3..bec75cd9c 100755
--- a/src/usr/diag/prdf/common/framework/register/prdfCaptureData.C
+++ b/src/usr/diag/prdf/common/framework/register/prdfCaptureData.C
@@ -102,7 +102,7 @@ void CaptureData::AddDataElement( TargetHandle_t i_trgt, int i_scomId,
memset( buf, 0x00, sz_buf );
// Use a BitString to copy i_bs to the buffer.
- BIT_STRING_ADDRESS_CLASS bs ( 0, i_bs->getBitLen(), (CPU_WORD *)buf );
+ BitString bs ( i_bs->getBitLen(), (CPU_WORD *)buf );
bs.setString( *i_bs );
// Create the new data element.
OpenPOWER on IntegriCloud