Moved duplicate code from the VMTranslationMap subclasses' UnmapPage() and
ClearAccessedAndModified() implementations into helper methods PageUnmapped() and UnaccessedPageUnmapped() in the base class. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37187 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -69,6 +69,13 @@ struct VMTranslationMap {
|
||||
|
||||
virtual void Flush() = 0;
|
||||
|
||||
protected:
|
||||
void PageUnmapped(VMArea* area,
|
||||
page_num_t pageNumber, bool accessed,
|
||||
bool modified, bool updatePageQueue);
|
||||
void UnaccessedPageUnmapped(VMArea* area,
|
||||
page_num_t pageNumber);
|
||||
|
||||
protected:
|
||||
recursive_lock fLock;
|
||||
int32 fMapCount;
|
||||
|
||||
Reference in New Issue
Block a user