1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

Kernel: Teach Region how to remap itself

Now remapping (i.e flushing kernel metadata to the CPU page tables)
is done by simply calling Region::remap().
This commit is contained in:
Andreas Kling 2019-11-03 20:59:54 +01:00
parent 3dce0f23f4
commit 4bf1a72d21
7 changed files with 15 additions and 19 deletions

View file

@ -121,6 +121,7 @@ public:
};
void unmap(ShouldDeallocateVirtualMemoryRange = ShouldDeallocateVirtualMemoryRange::Yes);
void remap();
void remap_page(size_t index);
// For InlineLinkedListNode