os/kernelhwsrv/kerneltest/e32test/demandpaging/t_dpcmn.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32test\demandpaging\t_dpcmn.h
    15 // 
    16 //
    17 
    18 extern TInt gPageSize;
    19 extern TBool gPagingSupported;
    20 extern TBool gRomPagingSupported;
    21 extern TBool gCodePagingSupported;
    22 extern TBool gDataPagingSupported;
    23 extern TInt gDataPagingPolicy;
    24 extern TBool gProcessPaged;
    25 
    26 extern TBool gGlobalNoPaging;		
    27 extern TBool gGlobalAlwaysPage;
    28 extern TBool gGlobalDefaultUnpaged;	
    29 extern TBool gGlobalDefaultPage;
    30 
    31 // Size of paging cache in pages
    32 extern TUint gMinCacheSize;
    33 extern TUint gMaxCacheSize;
    34 extern TUint gCurrentCacheSize;
    35 
    36 extern RChunk gChunk;
    37 extern RTest test;
    38 
    39 TInt GetGlobalPolicies();
    40 TBool IsDataPagingSupported();
    41 void UpdatePaged(TBool& aPaged);
    42 TInt TestThreadExit(RThread& aThread, TExitType aExitType, TInt aExitReason);
    43