--- a/kernel/eka/include/drivers/sdcard.h Mon May 24 18:45:46 2010 +0100
+++ b/kernel/eka/include/drivers/sdcard.h Thu Jun 10 11:48:01 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
@@ -44,6 +44,7 @@
const TUint32 KSDSwitchFunctionHighSpeed = 0x80FFFF01;
const TUint32 KSDCardIsSDCard = KBit16; // KMMCardFirstCustomFlag
+const TUint32 KSDCardIsCorrupt = KBit17;
const TUint32 KSDCardFirstCustomFlag = KBit24;
const TUint KSDDTClk25MHz = 25000; //25000KHz
@@ -81,12 +82,16 @@
inline TUint32 PARootDirEnd() const;
inline void SetPARootDirEnd(TUint32 aPARootDirEnd);
virtual TUint MaxTranSpeedInKilohertz() const;
+ inline void RegisterClient();
+ inline void DeregisterClient();
+ inline TBool ClientsRegistered();
private:
TUint32 iProtectedAreaSize;
TUint32 iPARootDirEnd;
TUint8 iAUSize;
TUint8 iPad[3];
- TUint32 iSpare[4];
+ TUint32 iClientCountSD;
+ TUint32 iSpare[3];
};
class TSDCardArray : public TMMCardArray