diff options
Diffstat (limited to 'src/usr/diag/prdf/common/plat/prdfPlatServices_common.H')
-rwxr-xr-x | src/usr/diag/prdf/common/plat/prdfPlatServices_common.H | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H index fd85583db..9db6992aa 100755 --- a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H +++ b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H @@ -331,127 +331,6 @@ void getDimmDqAttr( TARGETING::TargetHandle_t i_target, uint8_t (&io_dqMapPtr)[DQS_PER_DIMM] ); //############################################################################## -//## Maintenance Command class wrapper -//############################################################################## - -// TODO: RTC 157888 -///** -// * @brief This is a wrapper class for underlying maintenance class object -// * -// * By this class, we will hide underlying maintenance class dependency -// * from rest of code. All public function mss_MaintCmd used by prd should -// * be defined here also. -// */ -//class mss_MaintCmdWrapper -//{ -// public: // data types -// -// /** Represents underlying maintenance command object type **/ -// enum CmdType -// { -// TIMEBASE_SCRUB, -// TIMEBASE_STEER_CLEANUP, -// SUPERFAST_READ, -// }; -// -// /** Input flags to control how, and on what, the command runs. **/ -// enum CtrlFlags -// { -// /** Run all defaults. See each individual flag of default behavior */ -// NO_FLAGS = 0x00, -// -// /** When set, the command will run from the beginning of the given rank -// * to the end of memory. Default is to run to the end of the rank. */ -// END_OF_MEMORY = 0x01, -// -// /** When set, the command will run on the slave rank only. Default is to -// * run on the entire master rank. */ -// SLAVE_RANK_ONLY = 0x04, -// }; -// -// public: // functions -// -// /** -// * @brief Constructor -// * -// * @param i_maintCmd Underlying maintenance command object -// */ -// mss_MaintCmdWrapper( mss_MaintCmd * i_maintCmd ); -// -// /** -// * @brief Destructor -// */ -// virtual ~mss_MaintCmdWrapper(); -// -// /** -// * @brief Stops running maint cmd, and saves the address it stopped at. -// * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. -// */ -// int32_t stopCmd(); -// -// /** -// * @brief Saves any settings that need to be restored when command is done. -// * Loads the setup parameters into the hardware. Starts the command, -// * then either polls for complete or exits with command running. -// * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. -// */ -// int32_t setupAndExecuteCmd(); -// -// /** -// * @brief Called once a command is done if we need to restore settings that -// * had to be modified to run a specific command type, or clear error -// * data in the hw that is no longer relevant. -// * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. -// */ -// int32_t cleanupCmd(); -// -// private: // instance variables -// -// // Underlying maintenance command object pointer -// mss_MaintCmd * iv_cmd; -// -//}; // class mss_MaintCmdWrapper - -/** - * @brief Create a maintenance command object. - * @param i_cmdType Maintenance command type which we want to create. - * @param i_mba An MBA target. - * @param i_rank The first rank to start with (see enum CtrlFlags for - * more details). - * @param i_stopCond Bit mask for conditions in which to stop command. - * @param i_cmdSpeed See enum mss_MaintCmd::TimeBaseSpeed for details. - * @param i_flags See enum CtrlFlags for details. - * @param i_sAddrOverride A non-NULL value indicates to use this start address - * and not the start address of i_rank. - * @return A mss_MaintCmdWrapper object, NULL if an internal function failed. - * @note This function allocates memory on heap for mss_MaintCmdWrapper - * object. It is the caller's responsibilty to delete this object. - * @note By default this maintenance command will operate on the address range - * that contains i_rank, but the target address range can be modified - * with i_flags and/or i_sAddrOverride. - */ -/* TODO RTC 157888 -mss_MaintCmdWrapper * createMssCmd( mss_MaintCmdWrapper::CmdType i_cmdType, - TARGETING::TargetHandle_t i_mba, - const CenRank & i_rank, uint32_t i_stopCond, - mss_MaintCmd::TimeBaseSpeed i_cmdSpeed - = mss_MaintCmd::FAST_MAX_BW_IMPACT, - uint32_t i_flags = mss_MaintCmdWrapper::NO_FLAGS, - const CenAddr * i_sAddrOverride = NULL ); -*/ - -/** - * @brief Create an IncrementAddress maintenance command object. - * @param i_mba An MBA target. - * @return A mss_MaintCmdWrapper object, NULL if an internal function failed. - * @note This function allocates memory on heap for mss_MaintCmdWrapper - * object. It is the caller's responsibilty to delete this object. - */ -/* TODO RTC 157888 -mss_MaintCmdWrapper * createIncAddrMssCmd( TARGETING::TargetHandle_t i_mba ); -*/ - -//############################################################################## //## util functions //############################################################################## |