kernel/eka/memmodel/epoc/flexible/mmu/mptalloc.h
branchRCL_3
changeset 28 5b5d147c7838
parent 6 0173bcd7697c
equal deleted inserted replaced
26:c734af59ce98 28:5b5d147c7838
   135 	@return KErrNone if the page could be successfully discarded and its RAM page freed.
   135 	@return KErrNone if the page could be successfully discarded and its RAM page freed.
   136 	*/
   136 	*/
   137 	TInt MovePage(	DMemoryObject* aMemory, SPageInfo* aOldPageInfo, 
   137 	TInt MovePage(	DMemoryObject* aMemory, SPageInfo* aOldPageInfo, 
   138 						TUint aBlockZoneId, TBool aBlockRest);
   138 						TUint aBlockZoneId, TBool aBlockRest);
   139 
   139 
       
   140 	/**
       
   141 	Attempts to discard a page of page tables using #MovePage.  If the discard was 
       
   142 	succesful it then allocates the page with type aPageType.
       
   143 	
       
   144 	@param aMemory		This should always be the page table info memory object.
       
   145 	@param aPageInfo	The page info of the page to discard.
       
   146 
       
   147 	@return KErrNone if the page could be successfully discarded and its RAM page allocated.
       
   148 	*/
       
   149 	TInt MoveAndAllocPage(DMemoryObject* aMemory, SPageInfo* aPageInfo, TZonePageType aPageType);
       
   150 
   140 #ifdef _DEBUG
   151 #ifdef _DEBUG
   141 	/**
   152 	/**
   142 	Debug function for use by DPager::RemovePage() to allow it to remove
   153 	Debug function for use by DPager::RemovePage() to allow it to remove
   143 	pages with paged state == EUnpaged.
   154 	pages with paged state == EUnpaged.
   144 
   155