os/kernelhwsrv/kernel/eka/include/memmodel/emul/plat_priv.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1998-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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\include\memmodel\emul\plat_priv.h
    15 // 
    16 // WARNING: This file contains some APIs which are internal and are subject
    17 //          to change without notice. Such APIs should therefore not be used
    18 //          outside the Kernel and Hardware Services package.
    19 //
    20 
    21 /**
    22  @file
    23  @internalComponent
    24 */
    25 
    26 #ifndef __M32KERN_H__
    27 #define __M32KERN_H__
    28 #include <kernel/kern_priv.h>
    29 #include <platform.h>
    30 
    31 /********************************************
    32  * Functions/Data defined in layer 2 or below of
    33  * the kernel and not available to layer 1.
    34  ********************************************/
    35 struct TRamDriveInfo
    36 	{
    37 	TInt iSize;
    38 	};
    39 
    40 class PP
    41 	{
    42 public:
    43 	static TInt RamDriveMaxSize;
    44 	static TLinAddr RamDriveStartAddress;	
    45 	static HANDLE RamDriveFile;
    46 	static HANDLE RamDriveFileMapping;
    47 	static TRamDriveInfo* RamDriveInfo;
    48 	};
    49 
    50 const TInt KKernelHeapSizeMin = 0x008000;
    51 const TInt KKernelHeapSizeMax = 0xFFC000;
    52 
    53 #endif