kernel/eka/include/drivers/sdcard.h
branchRCL_3
changeset 42 a179b74831c9
parent 22 2f92ad2dc5db
child 43 c1f20ce4abcf
equal deleted inserted replaced
41:0ffb4e86fcc9 42:a179b74831c9
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    80 	virtual TInt64 DeviceSize64() const;
    80 	virtual TInt64 DeviceSize64() const;
    81 	enum {KPARootDirEndUnknown = 0};
    81 	enum {KPARootDirEndUnknown = 0};
    82 	inline TUint32 PARootDirEnd() const;
    82 	inline TUint32 PARootDirEnd() const;
    83 	inline void SetPARootDirEnd(TUint32 aPARootDirEnd);
    83 	inline void SetPARootDirEnd(TUint32 aPARootDirEnd);
    84 	virtual TUint MaxTranSpeedInKilohertz() const;
    84 	virtual TUint MaxTranSpeedInKilohertz() const;
       
    85 	inline void RegisterClient();
       
    86 	inline void DeregisterClient();
       
    87 	inline TBool ClientsRegistered();
    85 private:
    88 private:
    86 	TUint32 iProtectedAreaSize;
    89 	TUint32 iProtectedAreaSize;
    87 	TUint32 iPARootDirEnd;
    90 	TUint32 iPARootDirEnd;
    88 	TUint8	iAUSize;
    91 	TUint8	iAUSize;
    89 	TUint8 iPad[3];
    92 	TUint8 iPad[3];
    90 	TUint32 iSpare[4];
    93 	TUint32 iClientCountSD;
       
    94 	TUint32 iSpare[3];
    91 	};
    95 	};
    92 
    96 
    93 class TSDCardArray : public TMMCardArray
    97 class TSDCardArray : public TMMCardArray
    94 	{
    98 	{
    95 public:
    99 public: