kernel/eka/memmodel/epoc/flexible/mmu/mpagecleaner.h
branchRCL_3
changeset 110 c734af59ce98
equal deleted inserted replaced
97:41f0cfe18c80 110:c734af59ce98
       
     1 // Copyright (c) 2007-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 //
       
    15 //   Handles pre-cleaning of dirty pages.
       
    16 //
       
    17 //   When the paging device is idle (as determined by it calling NotifyIdle/NotifyBusy), a thread
       
    18 //   writes cleans dirty pages in the oldest section of the live list.
       
    19 //
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalComponent
       
    24 */
       
    25 
       
    26 #ifndef MPAGECLEANER_H
       
    27 #define MPAGECLEANER_H
       
    28 
       
    29 #include <e32def.h>
       
    30 #include <nkern.h>
       
    31 
       
    32 class PageCleaner
       
    33 	{
       
    34 public:
       
    35 	static void Start();
       
    36 	static void NotifyPagesToClean();
       
    37 	};
       
    38 
       
    39 #endif