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:
parent
9824ded0b0
commit
d36b9aef3e
@ -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(); }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user