diff options
author | Tom <tomut@yahoo.com> | 2020-10-31 17:19:18 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-11 12:27:25 +0100 |
commit | 5b38132e3cf5f6bedc045c693577515a192db5ab (patch) | |
tree | dcda657ee7c5124b0cfc2a28a6d33ca7c3bc8a03 /Kernel/VM/MemoryManager.h | |
parent | 2b25a89ab5625b1dd04b10f76b447177fd294f53 (diff) | |
download | serenity-5b38132e3cf5f6bedc045c693577515a192db5ab.zip |
Kernel: Protect the PageDirectory from concurrent access
Diffstat (limited to 'Kernel/VM/MemoryManager.h')
-rw-r--r-- | Kernel/VM/MemoryManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h index 24c6fedf70..3d62a05f43 100644 --- a/Kernel/VM/MemoryManager.h +++ b/Kernel/VM/MemoryManager.h @@ -191,7 +191,7 @@ private: PageDirectoryEntry* quickmap_pd(PageDirectory&, size_t pdpt_index); PageTableEntry* quickmap_pt(PhysicalAddress); - PageTableEntry* pte(const PageDirectory&, VirtualAddress); + PageTableEntry* pte(PageDirectory&, VirtualAddress); PageTableEntry* ensure_pte(PageDirectory&, VirtualAddress); void release_pte(PageDirectory&, VirtualAddress, bool); |