1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/include/e32ldr.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,64 @@
1.4 +// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32\include\e32ldr.h
1.18 +//
1.19 +// WARNING: This file contains some APIs which are internal and are subject
1.20 +// to change without notice. Such APIs should therefore not be used
1.21 +// outside the Kernel and Hardware Services package.
1.22 +//
1.23 +
1.24 +/**
1.25 + @file
1.26 + @internalTechnology
1.27 +*/
1.28 +
1.29 +#ifndef __E32LDR_H__
1.30 +#define __E32LDR_H__
1.31 +#include <e32cmn.h>
1.32 +
1.33 +
1.34 +/**
1.35 + @internalTechnology
1.36 +
1.37 + Where sections of a file are located on the media.
1.38 + The kernel uses this to load in parts of a demand paged file.
1.39 + */
1.40 +class TBlockMapEntryBase
1.41 + {
1.42 +public:
1.43 + TUint iNumberOfBlocks; // Number of contiguous blocks in map.
1.44 + TUint iStartBlock; // Number for first block in the map.
1.45 + };
1.46 +
1.47 +
1.48 +/**
1.49 + @internalTechnology
1.50 +
1.51 + Describes context for TBlockMapEntryBase objects.
1.52 + */
1.53 +struct SBlockMapInfoBase
1.54 + {
1.55 + TUint iBlockGranularity; // Size of a block in bytes.
1.56 + TUint iBlockStartOffset; // Offset to start of the file or requested file position within a block.
1.57 + TInt64 iStartBlockAddress; // Address of the first block of the partition.
1.58 + TInt iLocalDriveNumber; // Local drive number of where the file lies on.
1.59 + };
1.60 +
1.61 +
1.62 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
1.63 +#include <e32ldr_private.h>
1.64 +#endif
1.65 +
1.66 +#endif // __E32LDR_H__
1.67 +