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:
parent
b9d693665b
commit
95c2166ca9
5 changed files with 123 additions and 94 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue