summaryrefslogtreecommitdiff
path: root/Kernel/VM
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/VM')
-rw-r--r--Kernel/VM/Region.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/VM/Region.h b/Kernel/VM/Region.h
index 16c12d5c13..8ee5600e4d 100644
--- a/Kernel/VM/Region.h
+++ b/Kernel/VM/Region.h
@@ -79,6 +79,11 @@ public:
return size() / PAGE_SIZE;
}
+ size_t offset_in_vmobject() const
+ {
+ return m_offset_in_vmo;
+ }
+
int commit();
size_t amount_resident() const;