diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2013-02-20 11:14:51 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-09 16:59:27 -0500 |
commit | 9afea9f34838f35e1b4282362e2b6d51b9713eb5 (patch) | |
tree | 96f6576aef5144f51b3d73d6b60678402500f6a3 /src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H | |
parent | 0cb34beffe6264f670e20a2dea60af0fd5195f7b (diff) | |
download | talos-hostboot-9afea9f34838f35e1b4282362e2b6d51b9713eb5.tar.gz talos-hostboot-9afea9f34838f35e1b4282362e2b6d51b9713eb5.zip |
PRD: Add MemoryMru support
Change-Id: If69a67057290054b42795c874d3716fa3014a785
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3267
Tested-by: Jenkins Server
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3893
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H')
-rw-r--r-- | src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H index e364d5fbb..ff4f97baf 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H @@ -24,6 +24,8 @@ #ifndef prdfCalloutUtil_H #define prdfCalloutUtil_H +#include <prdfPlatServices.H> + /** @file prdfCalloutUtil.H * @brief Utility functions for common, non-trivial callouts. */ @@ -31,6 +33,7 @@ namespace PRDF { +class CenRank; struct STEP_CODE_DATA_STRUCT; namespace CalloutUtil @@ -44,7 +47,32 @@ namespace CalloutUtil */ void defaultError( STEP_CODE_DATA_STRUCT & i_sc ); +/** + * @param i_mba The target MBA. + * @param i_rank The target rank. + * @return A list of DIMMs connected to the MBA and rank. + */ +TARGETING::TargetHandleList getConnectedDimms( TARGETING::TargetHandle_t i_mba, + const CenRank & i_rank ); + +/** + * @param i_mba The target MBA. + * @return A list of DIMMs connected to the MBA. + */ +TARGETING::TargetHandleList getConnectedDimms(TARGETING::TargetHandle_t i_mba); + +/** + * @param i_mba The target MBA. + * @param i_rank The target rank. + * @param i_port MBA port. + * @return A list of DIMMs connected to the MBA and rank on a port. + */ +TARGETING::TargetHandleList getConnectedDimms( TARGETING::TargetHandle_t i_mba, + const CenRank & i_rank, + uint8_t i_port ); + } // end namespace CalloutUtil + } // end namespace PRDF #endif // prdfCalloutUtil_H |