mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
Refactor: Replace usages of FixedArray with Vector.
This commit is contained in:
parent
9c83d6ff46
commit
ec1080b18a
9 changed files with 27 additions and 23 deletions
|
@ -38,8 +38,8 @@ VMObject::VMObject(const VMObject& other)
|
|||
}
|
||||
|
||||
VMObject::VMObject(size_t size)
|
||||
: m_physical_pages(ceil_div(size, PAGE_SIZE))
|
||||
{
|
||||
m_physical_pages.resize(ceil_div(size, PAGE_SIZE));
|
||||
MM.register_vmobject(*this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue