20 #include "pedigree/kernel/processor/MemoryRegion.h" 21 #include "pedigree/kernel/processor/PhysicalMemoryManager.h" 24 : m_VirtualAddress(0), m_PhysicalAddress(0), m_Size(0), m_pName(pName),
25 m_bNonRamMemory(false), m_bForced(false)
34 void MemoryRegion::free()
59 MemoryRegion::operator bool()
const 64 bool MemoryRegion::physicalBoundsCheck(physical_uintptr_t address)
71 void MemoryRegion::setNonRamMemory(
bool b)
76 bool MemoryRegion::getNonRamMemory()
78 return m_bNonRamMemory;
81 void MemoryRegion::setForced(
bool b)
86 bool MemoryRegion::getForced()
static PhysicalMemoryManager & instance()
physical_uintptr_t m_PhysicalAddress
MemoryRegion(const char *pName)
physical_uintptr_t physicalAddress() const
virtual void unmapRegion(MemoryRegion *pRegion)=0
const char * name() const
void * virtualAddress() const