diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2018-05-03 22:26:41 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2018-05-15 21:57:58 -0400 |
commit | 40a290f2ab3b6d7b21f169f2383f1af204c628d8 (patch) | |
tree | 8f2fc9bdfda9917d35291480b541940f917f4c91 | |
parent | c82b015b7609bc4260a150de205d90e4c2baabe6 (diff) | |
download | talos-hostboot-40a290f2ab3b6d7b21f169f2383f1af204c628d8.tar.gz talos-hostboot-40a290f2ab3b6d7b21f169f2383f1af204c628d8.zip |
PRD: remove unused P8 memory data bundle files
Change-Id: Ie717c4b309265d93e7a6f661b9da64898f1219ee
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58331
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58721
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
4 files changed, 0 insertions, 345 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle.H deleted file mode 100644 index 100fe587e..000000000 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle.H +++ /dev/null @@ -1,61 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ - -#ifndef __prdfCenMbaDataBundle_H -#define __prdfCenMbaDataBundle_H - -/** @file prdfCenMbaDataBundle.H - * @brief Contains the data bundle for a PRD Centaur MBA object. - */ - -#include <prdfCenMbaDataBundle_common.H> - -//------------------------------------------------------------------------------ - -#if defined(__HOSTBOOT_MODULE) && !defined(__HOSTBOOT_RUNTIME) - #include <prdfCenMbaDataBundle_ipl.H> -#else - #include <prdfCenMbaDataBundle_rt.H> -#endif - -//------------------------------------------------------------------------------ - -namespace PRDF -{ - -/** - * @brief Wrapper function for the CenMbaDataBundle. - * @param i_mbaChip The MBA chip. - * @return This MBA's data bundle. - */ -inline CenMbaDataBundle * getMbaDataBundle( ExtensibleChip * i_mbaChip ) -{ - return static_cast<CenMbaDataBundle *>(i_mbaChip->getDataBundle()); -} - -} // end namespace PRDF - -#endif // __prdfCenMbaDataBundle_H - diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_common.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_common.H deleted file mode 100644 index e85cc65d8..000000000 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_common.H +++ /dev/null @@ -1,119 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_common.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2013,2016 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ - -#ifndef PRDF_CEN_MBA_DATABUNDLE_COMMON_H -#define PRDF_CEN_MBA_DATABUNDLE_COMMON_H - -/** @file prdfCenMbaDataBundle_common.H - * @brief Contains the common data bundle for a Centaur MBA object. - */ - -// Framework includes -#include <iipSystem.h> -#include <prdfExtensibleChip.H> -#include <prdfGlobal.H> -#include <prdfPlatServices.H> - -// Pegasus includes -#include <prdfCenMbaCeTable.H> -#include <prdfCenMbaRceTable.H> -#include <prdfMemUeTable.H> - -#if defined(__HOSTBOOT_MODULE) && !defined(__HOSTBOOT_RUNTIME) - #include <prdfCenMbaTdCtlr_ipl.H> -#else - #include <prdfCenMbaTdCtlr_rt.H> -#endif - -namespace PRDF -{ - -/** - * @brief The P8 Centaur MBA data bundle. - */ -class CenMbaDataBundleCommon : public DataBundle -{ - public: // functions - - /** - * @brief Constructor. - * @param i_mbaChip The MBA chip. - */ - explicit CenMbaDataBundleCommon( ExtensibleChip * i_mbaChip ) : - iv_mbaChip(i_mbaChip), iv_membChip(NULL), iv_tdCtlr(i_mbaChip), - iv_ueTable(), - iv_ceTable( i_mbaChip->GetChipHandle()), - iv_rceTable(i_mbaChip->GetChipHandle()) - {} - - /** - * @brief Destructor. - */ - ~CenMbaDataBundleCommon() {} - - /** @return The connected MEMBUF chip. */ - ExtensibleChip * getMembChip() - { - using namespace TARGETING; - using namespace PlatServices; - - if ( NULL == iv_membChip ) - { - TargetHandle_t mba = iv_mbaChip->GetChipHandle(); - - TargetHandle_t memb = getConnectedParent( mba, TYPE_MEMBUF ); - if ( NULL != memb ) - iv_membChip = (ExtensibleChip *)systemPtr->GetChip( memb ); - } - - return iv_membChip; - } - - private: // functions - - CenMbaDataBundleCommon( const CenMbaDataBundleCommon & ); - const CenMbaDataBundleCommon & operator=( const CenMbaDataBundleCommon & ); - - protected: // instance variables - - ExtensibleChip * iv_mbaChip; ///< This MBA chip - - private: // instance variables - - ExtensibleChip * iv_membChip; ///< The connected MEMBUF chip - - public: // instance variables - - CenMbaTdCtlr iv_tdCtlr; ///< Targeted Diagnostics Controller - MemUeTable iv_ueTable; ///< UE table for FFDC - CenMbaCeTable iv_ceTable; ///< CE table for FFDC - CenMbaRceTable iv_rceTable; ///< RCE table for FFDC - -}; - -} // end namespace PRDF - -#endif // PRDF_CEN_MBA_DATABUNDLE_COMMON_H - diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_rt.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_rt.H deleted file mode 100755 index 77af0d487..000000000 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_rt.H +++ /dev/null @@ -1,66 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaDataBundle_rt.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ - -#ifndef __prdfCenMbaDataBundle_rt_H -#define __prdfCenMbaDataBundle_rt_H - -/** @file prdfCenMbaDataBundle_rt.H - * @brief Contains the data bundle for a PRD Centaur MBA object (runtime only). - */ - -namespace PRDF -{ - -/** - * @brief The Centaur MBA data bundle. - */ -class CenMbaDataBundle : public CenMbaDataBundleCommon -{ - public: // functions - - /** - * @brief Constructor. - * @param i_mbaChip The MBA chip. - */ - explicit CenMbaDataBundle( ExtensibleChip * i_mbaChip ) : - CenMbaDataBundleCommon(i_mbaChip) - {} - - /** - * @brief Destructor. - */ - ~CenMbaDataBundle() {} - - private: // functions - - CenMbaDataBundle( const CenMbaDataBundle & ); - const CenMbaDataBundle & operator=( const CenMbaDataBundle & ); - -}; - -} // end namespace PRDF - -#endif // __prdfCenMbaDataBundle_rt_H - diff --git a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaDataBundle_ipl.H b/src/usr/diag/prdf/plat/pegasus/prdfCenMbaDataBundle_ipl.H deleted file mode 100644 index 40e0388f8..000000000 --- a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaDataBundle_ipl.H +++ /dev/null @@ -1,99 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/plat/pegasus/prdfCenMbaDataBundle_ipl.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ - -#ifndef __prdfCenMbaDataBundle_ipl_H -#define __prdfCenMbaDataBundle_ipl_H - -/** @file prdfCenMbaDataBundle_ipl.H - * @brief Contains the data bundle for a PRD Centaur MBA object (IPL only). - */ - -#include <diag/mdia/mdia.H> -#include <prdfCenMbaIplCeStats.H> - -namespace PRDF -{ - -/** - * @brief Centaur MBA data bundle. - */ -class CenMbaDataBundle : public CenMbaDataBundleCommon -{ - public: // functions - - /** - * @brief Constructor. - * @param i_mbaChip The MBA chip. - */ - explicit CenMbaDataBundle( ExtensibleChip * i_mbaChip ) : - CenMbaDataBundleCommon(i_mbaChip), iv_sendCmdCompleteMsg(false), - iv_cmdCompleteMsgData(), iv_iplCeStats(NULL) - {} - - /** - * @brief Destructor. - */ - ~CenMbaDataBundle() - { - delete iv_iplCeStats; iv_iplCeStats = NULL; - } - - /** @return The IPL CE statistics object. */ - CenMbaIplCeStats * getIplCeStats() - { - if ( NULL == iv_iplCeStats ) - { - iv_iplCeStats = new CenMbaIplCeStats( iv_mbaChip ); - } - - return iv_iplCeStats; - } - - private: // functions - - CenMbaDataBundle( const CenMbaDataBundle & ); - const CenMbaDataBundle & operator=( const CenMbaDataBundle & ); - - public: // instance variables - - /** TRUE if a maintenance command complete message needs to be sent in the - * post analysis plugin, FALSE otherwise. */ - bool iv_sendCmdCompleteMsg; - - /** - * Maintenance command message to send. - */ - MDIA::MaintCommandEventType iv_cmdCompleteMsgData; - - private: // instance variables - - CenMbaIplCeStats * iv_iplCeStats; ///< MNFG IPL CE statistics object - -}; - -} // end namespace PRDF - -#endif // __prdfCenMbaDataBundle_ipl_H - |