summaryrefslogtreecommitdiff
path: root/mem/physical.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mem/physical.cc')
-rw-r--r--mem/physical.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/mem/physical.cc b/mem/physical.cc
index 02563ac70..031d832dd 100644
--- a/mem/physical.cc
+++ b/mem/physical.cc
@@ -164,6 +164,13 @@ PhysicalMemory::prot_memset(Addr addr, uint8_t val, int size)
memset(pmem_addr + addr - base_addr, val, size);
}
+int
+PhysicalMemory::deviceBlockSize()
+{
+ //For now the largest accesses we can take are Page Sized
+ return VMPageSize;
+}
+
void
PhysicalMemory::serialize(ostream &os)
{