1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

Remove some unused MM functions.

These were just Q&D hacks I used while bringing up the paging code.
This commit is contained in:
Andreas Kling 2018-11-01 12:51:22 +01:00
parent 0f70b9105f
commit c178d7a9e3
2 changed files with 0 additions and 39 deletions

View file

@ -25,14 +25,11 @@ public:
private:
friend class MemoryManager;
friend bool copyToZone(Zone&, const void* data, size_t);
explicit Zone(Vector<PhysicalAddress>&&);
Vector<PhysicalAddress> m_pages;
};
bool copyToZone(Zone&, const void* data, size_t);
#define MM MemoryManager::the()
class MemoryManager {
@ -49,9 +46,6 @@ public:
RetainPtr<Zone> createZone(size_t);
// HACK: don't use this jeez :(
byte* quickMapOnePage(PhysicalAddress);
bool mapSubregion(Task&, Task::Subregion&);
bool unmapSubregion(Task&, Task::Subregion&);