kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
--- a/kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -1096,18 +1096,6 @@
 	}
 
 
-TInt Mmu::FreeRamZone(TUint aZoneId)
-	{
-	TPhysAddr zoneBase;
-	TUint zonePages;
-	TInt r = iRamPageAllocator->GetZoneAddress(aZoneId, zoneBase, zonePages);
-	if (r != KErrNone)
-		return r;
-	FreePhysicalRam(zoneBase, zonePages);
-	return KErrNone;
-	}
-
-
 TInt Mmu::ClaimPhysicalRam(TPhysAddr aPhysAddr, TUint aCount, TRamAllocFlags aFlags)
 	{
 	__KTRACE_OPT(KMMU,Kern::Printf("Mmu::ClaimPhysicalRam(0x%08x,0x%x,0x%08x)",aPhysAddr,aCount,aFlags));