summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/mem/prdfP9Mca.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfP9Mca.C')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfP9Mca.C8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfP9Mca.C b/src/usr/diag/prdf/plat/mem/prdfP9Mca.C
index a08385e5c..7a5d10d64 100644
--- a/src/usr/diag/prdf/plat/mem/prdfP9Mca.C
+++ b/src/usr/diag/prdf/plat/mem/prdfP9Mca.C
@@ -29,15 +29,14 @@
#include <prdfPluginMap.H>
// Platform includes
+#include <prdfMemDbUtils.H>
#include <prdfMemEccAnalysis.H>
-#include <prdfP9McaDataBundle.H>
#include <prdfP9McbistDataBundle.H>
#include <prdfPlatServices.H>
#ifdef __HOSTBOOT_RUNTIME
#include <prdfMemTps.H>
#endif
-
using namespace TARGETING;
namespace PRDF
@@ -150,8 +149,6 @@ int32_t RcdParityError( ExtensibleChip * i_mcaChip,
{
io_sc.service_data->setServiceCall();
- McbistDataBundle * mcbdb = getMcbistDataBundle( mcbChip );
-
std::vector<MemRank> list;
getSlaveRanks<TYPE_MCA>( i_mcaChip->getTrgt(), list );
PRDF_ASSERT( !list.empty() ); // target configured with no ranks
@@ -159,7 +156,8 @@ int32_t RcdParityError( ExtensibleChip * i_mcaChip,
for ( auto & r : list )
{
TdEntry * entry = new TpsEvent<TYPE_MCA>( i_mcaChip, r );
- uint32_t rc = mcbdb->getTdCtlr()->handleTdEvent( io_sc, entry );
+ MemDbUtils::pushToQueue<TYPE_MCA>( i_mcaChip, entry );
+ uint32_t rc = MemDbUtils::handleTdEvent<TYPE_MCA>(i_mcaChip, io_sc);
if ( SUCCESS != rc )
{
PRDF_ERR( PRDF_FUNC "handleTdEvent() failed on 0x%08x",
OpenPOWER on IntegriCloud