VM: Remove PhysicalPage::create_eternal().

Now that it is possible to create non-eternal non-freeable
pages, PageDirectory can do just that.
This commit is contained in:
Sergey Bugaev 2019-06-14 17:10:49 +03:00 committed by Andreas Kling
commit d900fe98e2
Notes: sideshowbarker 2024-07-19 13:36:32 +09:00
3 changed files with 1 additions and 9 deletions

View file

@ -9,7 +9,7 @@ static const dword kernelspace_range_base = 0xc0000000;
PageDirectory::PageDirectory(PhysicalAddress paddr)
: m_range_allocator(VirtualAddress(0xc0000000), 0x3f000000)
{
m_directory_page = PhysicalPage::create_eternal(paddr, true);
m_directory_page = PhysicalPage::create(paddr, true, false);
}
PageDirectory::PageDirectory(const RangeAllocator* parent_range_allocator)