kernel/eka/include/drivers/sdcard.h
branchRCL_3
changeset 294 039a3e647356
parent 257 3e88ff8f41d5
equal deleted inserted replaced
268:345b1ca54e88 294:039a3e647356
     1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-2009 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();
       
    88 private:
    85 private:
    89 	TUint32 iProtectedAreaSize;
    86 	TUint32 iProtectedAreaSize;
    90 	TUint32 iPARootDirEnd;
    87 	TUint32 iPARootDirEnd;
    91 	TUint8	iAUSize;
    88 	TUint8	iAUSize;
    92 	TUint8 iPad[3];
    89 	TUint8 iPad[3];
    93 	TUint32 iClientCountSD;
    90 	TUint32 iSpare[4];
    94 	TUint32 iSpare[3];
       
    95 	};
    91 	};
    96 
    92 
    97 class TSDCardArray : public TMMCardArray
    93 class TSDCardArray : public TMMCardArray
    98 	{
    94 	{
    99 public:
    95 public: