20 #include "PhysicalMemoryManager.h" 29 physical_uintptr_t MipsCommonPhysicalMemoryManager::allocatePage()
31 return (m_NextPage += 0x1000);
38 MemoryRegion &Region,
size_t cPages,
size_t pageConstraints,
size_t Flags,
39 physical_uintptr_t start)
46 : m_NextPage(0x00400000)
virtual ~MipsCommonPhysicalMemoryManager()
static PhysicalMemoryManager & instance()
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()
virtual void freePage(physical_uintptr_t page)
static MipsCommonPhysicalMemoryManager m_Instance