summaryrefslogtreecommitdiff
path: root/mem/physical.hh
diff options
context:
space:
mode:
Diffstat (limited to 'mem/physical.hh')
-rw-r--r--mem/physical.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mem/physical.hh b/mem/physical.hh
index 5410024e5..a8ed45115 100644
--- a/mem/physical.hh
+++ b/mem/physical.hh
@@ -78,6 +78,7 @@ class PhysicalMemory : public Memory
virtual void unserialize(Checkpoint *cp, const std::string &section);
};
+uint64_t
PhysicalMemory::phys_read_qword(Addr addr) const
{
if (addr + sizeof(uint64_t) > pmem_size)