kernel/eka/memmodel/epoc/flexible/mmu/mm.cpp
changeset 102 ef2a444a7410
parent 90 947f0dc9f7a8
child 109 b3a1d9898418
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
   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))