kernel/eka/drivers/pbus/mmc/session.cpp
changeset 287 ddfd5aa0d58f
parent 279 957c583b417b
equal deleted inserted replaced
286:48e57fb1237e 287:ddfd5aa0d58f
    34  * the function provided in aCallback. A session will be completed in this way if it has completed
    34  * the function provided in aCallback. A session will be completed in this way if it has completed
    35  * normally, an error has occurred or the session has been stopped by this or another client.
    35  * normally, an error has occurred or the session has been stopped by this or another client.
    36  * @param aCallBack reference to a TMMCCallback object to be called upon completion.
    36  * @param aCallBack reference to a TMMCCallback object to be called upon completion.
    37  */
    37  */
    38 	: iCallBack(aCallBack),
    38 	: iCallBack(aCallBack),
       
    39 	iPartition(TExtendedCSD::ESelectUserArea), // UDA is the hardware default
    39 #ifdef __EPOC32__
    40 #ifdef __EPOC32__
    40 	iPollTimer(DMMCSession::PollTimerCallBack, this),
    41 	iPollTimer(DMMCSession::PollTimerCallBack, this),
    41 	iRetryTimer(DMMCSession::RetryTimerCallBack, this),
    42 	iRetryTimer(DMMCSession::RetryTimerCallBack, this),
    42 	iProgramTimer(DMMCSession::ProgramTimerCallBack, this),
    43 	iProgramTimer(DMMCSession::ProgramTimerCallBack, this),
    43 #endif	// #ifdef __EPOC32__
    44 #endif	// #ifdef __EPOC32__
   417 		DMMCStack::CIMReadWriteIOSMST,
   418 		DMMCStack::CIMReadWriteIOSMST,
   418 		DMMCStack::CIMLockUnlockSMST,				// CIMLockUnlock
   419 		DMMCStack::CIMLockUnlockSMST,				// CIMLockUnlock
   419 		DMMCStack::NoSessionSMST,					// CIMLockStack is never really executed as a session
   420 		DMMCStack::NoSessionSMST,					// CIMLockStack is never really executed as a session
   420 		DMMCStack::InitStackAfterUnlockSMST,
   421 		DMMCStack::InitStackAfterUnlockSMST,
   421 		DMMCStack::CIMAutoUnlockSMST,
   422 		DMMCStack::CIMAutoUnlockSMST,
   422 		DMMCStack::ExecSleepCommandSMST				// CIMSleep
   423 		DMMCStack::ExecSleepCommandSMST,			// CIMSleep
       
   424 		DMMCStack::CIMRpmbAccessSMST				// CIMRpmbAccess
   423 		};
   425 		};
   424 
   426 
   425 	if (aSessNum >= 0 && aSessNum < (TInt) KMMCMaxSessionTypeNumber)
   427 	if (aSessNum >= 0 && aSessNum < (TInt) KMMCMaxSessionTypeNumber)
   426 		f = macros[aSessNum];
   428 		f = macros[aSessNum];
   427 
   429