Kernel: Rename vmo => vmobject everywhere

This commit is contained in:
Andreas Kling 2019-12-19 19:13:44 +01:00
parent 8ea4217c01
commit b6ee8a2c8d
Notes: sideshowbarker 2024-07-19 10:48:28 +09:00
15 changed files with 47 additions and 47 deletions

View file

@ -6,16 +6,16 @@
VMObject::VMObject(const VMObject& other)
: m_physical_pages(other.m_physical_pages)
{
MM.register_vmo(*this);
MM.register_vmobject(*this);
}
VMObject::VMObject(size_t size)
: m_physical_pages(ceil_div(size, PAGE_SIZE))
{
MM.register_vmo(*this);
MM.register_vmobject(*this);
}
VMObject::~VMObject()
{
MM.unregister_vmo(*this);
MM.unregister_vmobject(*this);
}