--- a/kernel/eka/memmodel/epoc/flexible/mmu/mpager.h Mon May 03 13:47:38 2010 +0300
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/mpager.h Fri May 14 17:13:29 2010 +0300
@@ -21,6 +21,7 @@
#ifndef MPAGER_H
#define MPAGER_H
+#include "mmu.h"
#include <kern_priv.h>
/**
@@ -148,6 +149,20 @@
void FlushAll();
/**
+ Flush demand paged pages in a specified region.
+
+ The memory must reside in a single memory object.
+
+ @param aProcess The process containing the pages to flush.
+ @param aStart The start address of the region.
+ @param aSize The size of the region in bytes.
+
+ @return KErrBadDescriptor If the memory region is invalid or spans more than one memory object,
+ otherwise KErrNone.
+ */
+ TInt FlushRegion(DMemModelProcess* aProcess, TLinAddr aStartAddress, TUint aSize);
+
+ /**
Give pages to paging system for managing.
*/
void DonatePages(TUint aCount, TPhysAddr* aPages);