mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:07:34 +00:00
Kernel: Remove unused MemoryManager::m_physical_page_entries_free
This commit is contained in:
parent
5087b2b32f
commit
112c7f9a5b
2 changed files with 0 additions and 2 deletions
|
@ -431,7 +431,6 @@ UNMAP_AFTER_INIT void MemoryManager::initialize_physical_pages()
|
||||||
m_physical_page_entries = (PhysicalPageEntry*)range.value().base().get();
|
m_physical_page_entries = (PhysicalPageEntry*)range.value().base().get();
|
||||||
for (size_t i = 0; i < m_physical_page_entries_count; i++)
|
for (size_t i = 0; i < m_physical_page_entries_count; i++)
|
||||||
new (&m_physical_page_entries[i]) PageTableEntry();
|
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,
|
// Now we should be able to allocate PhysicalPage instances,
|
||||||
// so finish setting up the kernel page directory
|
// so finish setting up the kernel page directory
|
||||||
|
|
|
@ -250,7 +250,6 @@ private:
|
||||||
Vector<PhysicalRegion> m_super_physical_regions;
|
Vector<PhysicalRegion> m_super_physical_regions;
|
||||||
Optional<PhysicalRegion> m_physical_pages_region;
|
Optional<PhysicalRegion> m_physical_pages_region;
|
||||||
PhysicalPageEntry* m_physical_page_entries { nullptr };
|
PhysicalPageEntry* m_physical_page_entries { nullptr };
|
||||||
size_t m_physical_page_entries_free { 0 };
|
|
||||||
size_t m_physical_page_entries_count { 0 };
|
size_t m_physical_page_entries_count { 0 };
|
||||||
|
|
||||||
Region::List m_user_regions;
|
Region::List m_user_regions;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue