20 #ifndef KERNEL_PROCESSOR_MIPS_COMMON_PHYSICALMEMORYMANAGER_H 21 #define KERNEL_PROCESSOR_MIPS_COMMON_PHYSICALMEMORYMANAGER_H 23 #include "pedigree/kernel/processor/PhysicalMemoryManager.h" 47 virtual physical_uintptr_t allocatePage();
48 virtual void freePage(physical_uintptr_t page);
50 MemoryRegion &Region,
size_t cPages,
size_t pageConstraints,
51 size_t Flags, physical_uintptr_t start = -1);
virtual ~MipsCommonPhysicalMemoryManager()
static MipsCommonPhysicalMemoryManager & instance()
Implementation of the PhysicalMemoryManager for common mips.
Special memory entity in the kernel's virtual address space.
virtual bool allocateRegion(MemoryRegion &Region, size_t cPages, size_t pageConstraints, size_t Flags, physical_uintptr_t start=-1)
MipsCommonPhysicalMemoryManager & operator=(const MipsCommonPhysicalMemoryManager &)
MipsCommonPhysicalMemoryManager()
virtual void freePage(physical_uintptr_t page)
static MipsCommonPhysicalMemoryManager m_Instance