diff options
Diffstat (limited to 'mem/physical.cc')
-rw-r--r-- | mem/physical.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mem/physical.cc b/mem/physical.cc index 031d832dd..4c1743293 100644 --- a/mem/physical.cc +++ b/mem/physical.cc @@ -54,7 +54,7 @@ using namespace std; #if FULL_SYSTEM PhysicalMemory::PhysicalMemory(const string &n, Range<Addr> range, MemoryController *mmu, const std::string &fname) - : FunctionalMemory(n), base_addr(range.start), pmem_size(range.size()), + : Memory(n), base_addr(range.start), pmem_size(range.size()), pmem_addr(NULL) { if (pmem_size % TheISA::PageBytes != 0) @@ -167,8 +167,8 @@ PhysicalMemory::prot_memset(Addr addr, uint8_t val, int size) int PhysicalMemory::deviceBlockSize() { - //For now the largest accesses we can take are Page Sized - return VMPageSize; + //Can accept anysize request + return 0; } void |