diff -r e7d2d738d3c2 -r 2f92ad2dc5db kernel/eka/memmodel/epoc/flexible/mmu/mm.h --- a/kernel/eka/memmodel/epoc/flexible/mmu/mm.h Mon Mar 15 12:45:50 2010 +0200 +++ b/kernel/eka/memmodel/epoc/flexible/mmu/mm.h Wed Mar 31 23:38:45 2010 +0300 @@ -84,6 +84,9 @@ EMemoryObjectMovable but with the additional option of marking pages as 'discardable'. Discardable pages may be reclaimed (remove) by the system at any time, this state is controlled using the functions: + - MM::MemoryAlloc + - MM::MemoryAllocContiguous + - MM::MemoryFree - MM::MemoryAllowDiscard - MM::MemoryDisallowDiscard */ @@ -485,7 +488,7 @@ KErrNotSupported, if the memory object doesn't support this operation; otherwise another of the system wide error codes. */ - static TInt MemoryAddPages(DMemoryObject* aMemory, TUint aIndex, TUint aCount, TPhysAddr* aPages); + static TInt MemoryAddPages(DMemoryObject* aMemory, TUint aIndex, TUint aCount, const TPhysAddr* aPages); /** Add a contiguous range of pages to a region in a memory object.