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

Kernel: Move page remapping into Region::remap_page(index)

Let Region deal with this, instead of everyone calling MemoryManager.
This commit is contained in:
Andreas Kling 2019-11-03 15:32:11 +01:00
parent dc35b1d647
commit fe455c5ac4
4 changed files with 31 additions and 30 deletions

View file

@ -114,6 +114,8 @@ public:
m_access &= ~Access::Write;
}
void remap_page(size_t index);
// For InlineLinkedListNode
Region* m_next { nullptr };
Region* m_prev { nullptr };