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
commit 4bf1a72d21
Notes: sideshowbarker 2024-07-19 11:26:36 +09:00
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