summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-03 15:32:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-03 15:32:11 +0100
commitfe455c5ac46b8b6df41152eebafa63ef9df75032 (patch)
tree1e889bdfb109ce4678656f0f08774af3c66cc8d5 /Kernel/VM/Region.h
parentdc35b1d647b992eae58588f5db66df568c7570a6 (diff)
downloadserenity-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.h2
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 };