equal
deleted
inserted
replaced
616 } |
616 } |
617 |
617 |
618 |
618 |
619 TInt DDataPagedMemoryManager::CleanPage(DMemoryObject* aMemory, SPageInfo* aPageInfo, TPhysAddr*& aPageArrayEntry) |
619 TInt DDataPagedMemoryManager::CleanPage(DMemoryObject* aMemory, SPageInfo* aPageInfo, TPhysAddr*& aPageArrayEntry) |
620 { |
620 { |
621 if(aPageInfo->IsDirty()==false) |
621 if(!aPageInfo->IsDirty()) |
622 return KErrNone; |
622 return KErrNone; |
623 |
623 |
624 // shouldn't be asked to clean a page which is writable... |
624 // shouldn't be asked to clean a page which is writable... |
625 __NK_ASSERT_DEBUG(aPageInfo->IsWritable()==false); |
625 __NK_ASSERT_DEBUG(!aPageInfo->IsWritable()); |
626 |
626 |
627 // mark page as being modified by us... |
627 // mark page as being modified by us... |
628 TUint modifierInstance; // dummy variable used only for it's storage address on the stack |
628 TUint modifierInstance; // dummy variable used only for it's storage address on the stack |
629 aPageInfo->SetModifier(&modifierInstance); |
629 aPageInfo->SetModifier(&modifierInstance); |
630 |
630 |