summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2014-01-09 10:34:49 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-09 12:58:16 -0600
commit0396febcd4fe2abbf110f063731ff5171917e81a (patch)
tree817af8e1f909aafa103b41775d06844a3e20333e /src/usr
parent0f53b2d8c557f90d99fa3ab367988658e5ae1a8d (diff)
downloadblackbird-hostboot-0396febcd4fe2abbf110f063731ff5171917e81a.tar.gz
blackbird-hostboot-0396febcd4fe2abbf110f063731ff5171917e81a.zip
PRD: add isVeniceProc plugin back in
Change-Id: I3cb4a385419ee2dcce63bb91be94a4665808c9b8 CQ: SW240649 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7969 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7971
Diffstat (limited to 'src/usr')
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfP8Proc.C16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfP8Proc.C b/src/usr/diag/prdf/common/plat/pegasus/prdfP8Proc.C
index 481c61c81..f39cefbb5 100755
--- a/src/usr/diag/prdf/common/plat/pegasus/prdfP8Proc.C
+++ b/src/usr/diag/prdf/common/plat/pegasus/prdfP8Proc.C
@@ -660,6 +660,22 @@ PLUGIN_CALLOUT_PHB( 1 )
#undef PLUGIN_CALLOUT_PHB
+/**
+ * @brief checks if proc is Venice chip.
+ * @param i_chip P8 chip.
+ * @param isVenice TRUE if chip is venice false otherwise.
+ * @return SUCCESS
+ */
+int32_t isVeniceProc( ExtensibleChip * i_chip, bool & o_isVenice )
+{
+ o_isVenice = false;
+ if( MODEL_VENICE == getProcModel( i_chip->GetChipHandle() ) )
+ o_isVenice = true;
+
+ return SUCCESS;
+}
+PRDF_PLUGIN_DEFINE( Proc, isVeniceProc );
+
} // end namespace Proc
} // end namespace PRDF
OpenPOWER on IntegriCloud