williamr@2: // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of the License "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // e32\include\e32ldr.h williamr@2: // williamr@4: // WARNING: This file contains some APIs which are internal and are subject williamr@4: // to change without notice. Such APIs should therefore not be used williamr@4: // outside the Kernel and Hardware Services package. williamr@2: // williamr@2: williamr@2: /** williamr@2: @file williamr@2: @internalTechnology williamr@2: */ williamr@2: williamr@2: #ifndef __E32LDR_H__ williamr@2: #define __E32LDR_H__ williamr@2: #include williamr@2: williamr@2: williamr@4: /** williamr@4: @internalTechnology williamr@2: williamr@2: Where sections of a file are located on the media. williamr@2: The kernel uses this to load in parts of a demand paged file. williamr@2: */ williamr@4: class TBlockMapEntryBase williamr@2: { williamr@2: public: williamr@2: TUint iNumberOfBlocks; // Number of contiguous blocks in map. williamr@2: TUint iStartBlock; // Number for first block in the map. williamr@2: }; williamr@2: williamr@4: williamr@2: /** williamr@4: @internalTechnology williamr@4: williamr@2: Describes context for TBlockMapEntryBase objects. williamr@2: */ williamr@4: struct SBlockMapInfoBase williamr@2: { williamr@2: TUint iBlockGranularity; // Size of a block in bytes. williamr@2: TUint iBlockStartOffset; // Offset to start of the file or requested file position within a block. williamr@2: TInt64 iStartBlockAddress; // Address of the first block of the partition. williamr@2: TInt iLocalDriveNumber; // Local drive number of where the file lies on. williamr@2: }; williamr@2: williamr@2: williamr@4: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS williamr@4: #include williamr@2: #endif williamr@2: williamr@4: #endif // __E32LDR_H__ williamr@2: