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

Kernel: Remove unused MemoryManager::m_physical_page_entries_free

This commit is contained in:
Andreas Kling 2021-07-11 15:13:00 +02:00
parent 5087b2b32f
commit 112c7f9a5b
2 changed files with 0 additions and 2 deletions

View file

@ -431,7 +431,6 @@ UNMAP_AFTER_INIT void MemoryManager::initialize_physical_pages()
m_physical_page_entries = (PhysicalPageEntry*)range.value().base().get();
for (size_t i = 0; i < m_physical_page_entries_count; i++)
new (&m_physical_page_entries[i]) PageTableEntry();
m_physical_page_entries_free = m_physical_page_entries_count;
// Now we should be able to allocate PhysicalPage instances,
// so finish setting up the kernel page directory