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:
parent
dc35b1d647
commit
fe455c5ac4
4 changed files with 31 additions and 30 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue