author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of the License "Eclipse Public License v1.0" |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// e32\include\e32ldr.h |
williamr@2 | 15 |
// |
williamr@4 | 16 |
// WARNING: This file contains some APIs which are internal and are subject |
williamr@4 | 17 |
// to change without notice. Such APIs should therefore not be used |
williamr@4 | 18 |
// outside the Kernel and Hardware Services package. |
williamr@2 | 19 |
// |
williamr@2 | 20 |
|
williamr@2 | 21 |
/** |
williamr@2 | 22 |
@file |
williamr@2 | 23 |
@internalTechnology |
williamr@2 | 24 |
*/ |
williamr@2 | 25 |
|
williamr@2 | 26 |
#ifndef __E32LDR_H__ |
williamr@2 | 27 |
#define __E32LDR_H__ |
williamr@2 | 28 |
#include <e32cmn.h> |
williamr@2 | 29 |
|
williamr@2 | 30 |
|
williamr@4 | 31 |
/** |
williamr@4 | 32 |
@internalTechnology |
williamr@2 | 33 |
|
williamr@2 | 34 |
Where sections of a file are located on the media. |
williamr@2 | 35 |
The kernel uses this to load in parts of a demand paged file. |
williamr@2 | 36 |
*/ |
williamr@4 | 37 |
class TBlockMapEntryBase |
williamr@2 | 38 |
{ |
williamr@2 | 39 |
public: |
williamr@2 | 40 |
TUint iNumberOfBlocks; // Number of contiguous blocks in map. |
williamr@2 | 41 |
TUint iStartBlock; // Number for first block in the map. |
williamr@2 | 42 |
}; |
williamr@2 | 43 |
|
williamr@4 | 44 |
|
williamr@2 | 45 |
/** |
williamr@4 | 46 |
@internalTechnology |
williamr@4 | 47 |
|
williamr@2 | 48 |
Describes context for TBlockMapEntryBase objects. |
williamr@2 | 49 |
*/ |
williamr@4 | 50 |
struct SBlockMapInfoBase |
williamr@2 | 51 |
{ |
williamr@2 | 52 |
TUint iBlockGranularity; // Size of a block in bytes. |
williamr@2 | 53 |
TUint iBlockStartOffset; // Offset to start of the file or requested file position within a block. |
williamr@2 | 54 |
TInt64 iStartBlockAddress; // Address of the first block of the partition. |
williamr@2 | 55 |
TInt iLocalDriveNumber; // Local drive number of where the file lies on. |
williamr@2 | 56 |
}; |
williamr@2 | 57 |
|
williamr@2 | 58 |
|
williamr@4 | 59 |
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
williamr@4 | 60 |
#include <e32ldr_private.h> |
williamr@2 | 61 |
#endif |
williamr@2 | 62 |
|
williamr@4 | 63 |
#endif // __E32LDR_H__ |
williamr@2 | 64 |