mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Kernel: Remove unused used/free pages API's from PhysicalRegion
This commit is contained in:
parent
be90e51355
commit
6ea5db20ff
3 changed files with 0 additions and 9 deletions
|
@ -309,10 +309,6 @@ extern "C" PageDirectoryEntry boot_pd3[1024];
|
|||
|
||||
UNMAP_AFTER_INIT void MemoryManager::initialize_physical_pages()
|
||||
{
|
||||
// No physical memory region should be using any memory yet!
|
||||
for (auto& region : m_user_physical_regions)
|
||||
VERIFY(region.used() == 0);
|
||||
|
||||
// We assume that the physical page range is contiguous and doesn't contain huge gaps!
|
||||
PhysicalAddress highest_physical_address;
|
||||
for (auto& range : m_used_memory_ranges) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue