os/kernelhwsrv/userlibandfileserver/fileserver/shostmassstorage/msproxy/tmsmemmap.h
Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
29 static const TInt KSectorSize = 0x200; // 512
30 static const TInt KFormatSectorShift = 9;
35 void InitDataArea(TUint32 aFirstDataSector, TUint32 aNumSectors);
36 void InitDataArea(TUint64 aSize);
38 TInt BlockLength() const;
39 TUint64 DataSize() const;
41 TInt64 GetDataPos(TInt64 aPos) const;
42 TInt TranslateDataPos(TInt64& aPos, TInt& aLength) const;
43 TInt CheckBlockInRange(TInt64& aPos, TInt aLength) const;
55 #include "tmsmemmap.inl"