equal
deleted
inserted
replaced
48 __NK_ASSERT_DEBUG(RamAllocLock::IsHeld()); |
48 __NK_ASSERT_DEBUG(RamAllocLock::IsHeld()); |
49 #endif |
49 #endif |
50 } |
50 } |
51 |
51 |
52 |
52 |
53 inline TInt M::DiscardPage(TPhysAddr aAddr, TUint aBlockZoneId, TBool aBlockRest) |
53 inline TInt M::DiscardPage(TPhysAddr aAddr, TUint aBlockZoneId, TUint aMoveDisFlags) |
54 { |
54 { |
55 TPhysAddr newAddr; |
55 TPhysAddr newAddr; |
56 return MovePage(aAddr, newAddr, aBlockZoneId, aBlockRest); |
56 return MovePage(aAddr, newAddr, aBlockZoneId, aMoveDisFlags); |
57 } |
57 } |
58 |
58 |
59 |
59 |
60 inline TUint M::NumberOfFreeDpPages() |
60 inline TUint M::NumberOfFreeDpPages() |
61 { |
61 { |
73 { |
73 { |
74 TheMmu.AllocatedPhysicalRam(aZone->iPhysBase, |
74 TheMmu.AllocatedPhysicalRam(aZone->iPhysBase, |
75 aZone->iPhysPages, |
75 aZone->iPhysPages, |
76 (Mmu::TRamAllocFlags)EMemAttStronglyOrdered); |
76 (Mmu::TRamAllocFlags)EMemAttStronglyOrdered); |
77 } |
77 } |
|
78 |
|
79 |
|
80 inline TBool M::GetFreePages(TUint aNumPages) |
|
81 { |
|
82 return ThePager.GetFreePages(aNumPages); |
|
83 } |