kernel/eka/memmodel/epoc/flexible/mmu/mpager.h
changeset 152 657f875b013e
parent 109 b3a1d9898418
child 201 43365a9b78a3
equal deleted inserted replaced
139:95f71bcdcdb7 152:657f875b013e
   350 	@param aBlockZoneId	The ID of the RAM zone not to allocate any required new page into.
   350 	@param aBlockZoneId	The ID of the RAM zone not to allocate any required new page into.
   351 	@param aBlockRest	Set to ETrue when we don't want the allocator to search for new pages if the RAM 
   351 	@param aBlockRest	Set to ETrue when we don't want the allocator to search for new pages if the RAM 
   352 						zone with ID==aBlockZoneId is encountered, i.e. a general RAM defrag operation.
   352 						zone with ID==aBlockZoneId is encountered, i.e. a general RAM defrag operation.
   353 	*/
   353 	*/
   354 	TInt DiscardPage(SPageInfo* aOldPageInfo, TUint aBlockZoneId, TBool aBlockRest);
   354 	TInt DiscardPage(SPageInfo* aOldPageInfo, TUint aBlockZoneId, TBool aBlockRest);
       
   355 
       
   356 	/**
       
   357 	Attempt to discard the specified page and then allocate a page of type aPageType
       
   358 	in its place.
       
   359 	
       
   360 	@param aPageInfo	The page info of the page to discard.
       
   361 	@param aPageType 	The new page type to allocate into aPageInfo's physical address.
       
   362 	*/
       
   363 	TInt DiscardAndAllocPage(SPageInfo* aPageInfo, TZonePageType aPageType);
   355 
   364 
   356 
   365 
   357 	/**
   366 	/**
   358 	Update any live list links to replace the old page with the new page.
   367 	Update any live list links to replace the old page with the new page.
   359 	This is to be used when a page has been moved.
   368 	This is to be used when a page has been moved.