summaryrefslogtreecommitdiff
path: root/mem/physical.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mem/physical.cc')
-rw-r--r--mem/physical.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/mem/physical.cc b/mem/physical.cc
index c45e12750..02563ac70 100644
--- a/mem/physical.cc
+++ b/mem/physical.cc
@@ -43,11 +43,12 @@
#if FULL_SYSTEM
#include "mem/functional/memory_control.hh"
#endif
-#include "mem/functional/physical.hh"
+#include "mem/physical.hh"
#include "sim/host.hh"
#include "sim/builder.hh"
#include "targetarch/isa_traits.hh"
+
using namespace std;
#if FULL_SYSTEM
@@ -89,7 +90,7 @@ PhysicalMemory::PhysicalMemory(const string &n, Range<Addr> range,
#endif
PhysicalMemory::PhysicalMemory(const string &n)
- : FunctionalMemory(n), base_addr(0), pmem_addr(NULL)
+ : Memory(n), base_addr(0), pmem_addr(NULL)
{
// Hardcoded to 128 MB for now.
pmem_size = 1 << 27;