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

Remove MM::allocate_physical_pages() since it wasn't used.

Everyone was allocating one page at a time with allocate_physical_page().
This commit is contained in:
Andreas Kling 2018-11-10 22:14:41 +01:00
parent 36b3dc6c32
commit c97a5862ce
2 changed files with 9 additions and 27 deletions

View file

@ -175,7 +175,6 @@ public:
bool validate_user_read(const Process&, LinearAddress) const;
bool validate_user_write(const Process&, LinearAddress) const;
Vector<RetainPtr<PhysicalPage>> allocate_physical_pages(size_t count);
RetainPtr<PhysicalPage> allocate_physical_page();
void remap_region(Process&, Region&);