kernel/eka/memmodel/epoc/flexible/mmu/mm.cpp
branchRCL_3
changeset 87 2f92ad2dc5db
parent 81 e7d2d738d3c2
child 256 c1f20ce4abcf
equal deleted inserted replaced
81:e7d2d738d3c2 87:2f92ad2dc5db
   392 	aMemory->iManager->Free(aMemory,aIndex,aCount);
   392 	aMemory->iManager->Free(aMemory,aIndex,aCount);
   393 	MemoryObjectLock::Unlock(aMemory);
   393 	MemoryObjectLock::Unlock(aMemory);
   394 	}
   394 	}
   395 
   395 
   396 
   396 
   397 TInt MM::MemoryAddPages(DMemoryObject* aMemory, TUint aIndex, TUint aCount, TPhysAddr* aPages)
   397 TInt MM::MemoryAddPages(DMemoryObject* aMemory, TUint aIndex, TUint aCount, const TPhysAddr* aPages)
   398 	{
   398 	{
   399 	TRACE(("MM::MemoryAddPages(0x%08x,0x%08x,0x%08x,?)",aMemory,aIndex,aCount));
   399 	TRACE(("MM::MemoryAddPages(0x%08x,0x%08x,0x%08x,?)",aMemory,aIndex,aCount));
   400 	MemoryObjectLock::Lock(aMemory);
   400 	MemoryObjectLock::Lock(aMemory);
   401 	TInt r;
   401 	TInt r;
   402 	if(!aMemory->CheckRegion(aIndex,aCount))
   402 	if(!aMemory->CheckRegion(aIndex,aCount))