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:
Ingo Weinhold 2010-02-20 12:29:42 +00:00
parent 9824ded0b0
commit d36b9aef3e

View File

@ -121,6 +121,9 @@ public:
VMCache* Cache() const
{ return cache_ref != NULL ? cache_ref->cache : NULL; }
bool IsMapped() const
{ return wired_count > 0 || !mappings.IsEmpty(); }
};