1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

Kernel: Add a specific-page variant of Region::commit()

This commit is contained in:
Andreas Kling 2019-12-18 22:43:32 +01:00
parent c0e81b26b6
commit 1d4d6f16b2
2 changed files with 26 additions and 13 deletions

View file

@ -98,7 +98,8 @@ public:
return m_offset_in_vmo;
}
int commit();
bool commit();
bool commit(size_t page_index);
size_t amount_resident() const;
size_t amount_shared() const;