diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-03 15:32:11 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-03 15:32:11 +0100 |
commit | fe455c5ac46b8b6df41152eebafa63ef9df75032 (patch) | |
tree | 1e889bdfb109ce4678656f0f08774af3c66cc8d5 /Kernel/VM/Region.h | |
parent | dc35b1d647b992eae58588f5db66df568c7570a6 (diff) | |
download | serenity-fe455c5ac46b8b6df41152eebafa63ef9df75032.zip |
Kernel: Move page remapping into Region::remap_page(index)
Let Region deal with this, instead of everyone calling MemoryManager.
Diffstat (limited to 'Kernel/VM/Region.h')
-rw-r--r-- | Kernel/VM/Region.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/VM/Region.h b/Kernel/VM/Region.h index 82b626cf11..f7244b1e9c 100644 --- a/Kernel/VM/Region.h +++ b/Kernel/VM/Region.h @@ -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 }; |