Added vm_page::IsMapped() for convenience.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35531 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -121,6 +121,9 @@ public:
|
|||||||
|
|
||||||
VMCache* Cache() const
|
VMCache* Cache() const
|
||||||
{ return cache_ref != NULL ? cache_ref->cache : NULL; }
|
{ return cache_ref != NULL ? cache_ref->cache : NULL; }
|
||||||
|
|
||||||
|
bool IsMapped() const
|
||||||
|
{ return wired_count > 0 || !mappings.IsEmpty(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user