1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:18:12 +00:00

Kernel: Fix 64-bit address truncation in MemoryManager::ensure_pte()

This commit is contained in:
Gunnar Beutner 2021-07-18 02:34:57 +02:00 committed by Andreas Kling
parent ed25a6ad0d
commit f0c4941beb
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,7 @@ private:
#else
RefPtr<PhysicalPage> m_directory_pages[4];
#endif
HashMap<u32, RefPtr<PhysicalPage>> m_page_tables;
HashMap<FlatPtr, RefPtr<PhysicalPage>> m_page_tables;
RecursiveSpinLock m_lock;
bool m_valid { false };
};