1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

Kernel: Move sys$munmap functionality into a helper method

This commit is contained in:
Gunnar Beutner 2021-05-28 11:03:21 +02:00 committed by Andreas Kling
parent b9d693665b
commit 95c2166ca9
5 changed files with 123 additions and 94 deletions

View file

@ -50,6 +50,8 @@ public:
Vector<Range, 2> carve(const Range&) const;
Range intersect(const Range&) const;
static KResultOr<Range> expand_to_page_boundaries(FlatPtr address, size_t size);
private:
VirtualAddress m_base;
size_t m_size { 0 };