1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

Kernel: Get rid of MemoryManager::allocate_page_table()

We can just use the physical page allocator directly, there's no need
for a dedicated function for page tables.
This commit is contained in:
Andreas Kling 2019-09-15 20:34:03 +02:00
parent dccab569d2
commit a40afc4562
2 changed files with 1 additions and 13 deletions

View file

@ -104,8 +104,6 @@ private:
void flush_entire_tlb();
void flush_tlb(VirtualAddress);
RefPtr<PhysicalPage> allocate_page_table(PageDirectory&, unsigned index);
void map_protected(VirtualAddress, size_t length);
void create_identity_mapping(PageDirectory&, VirtualAddress, size_t length);