summaryrefslogtreecommitdiff
path: root/mem
diff options
context:
space:
mode:
Diffstat (limited to 'mem')
-rw-r--r--mem/physical.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mem/physical.hh b/mem/physical.hh
index fb2d0d743..90515d7d1 100644
--- a/mem/physical.hh
+++ b/mem/physical.hh
@@ -70,9 +70,9 @@ class PhysicalMemory : public Memory
std::map<std::string, MemoryPort*> memoryPortList;
- Port * PhysicalMemory::getPort(const char *if_name);
+ virtual Port * getPort(const char *if_name);
- Port * addPort(std::string portName);
+ virtual Port * addPort(std::string portName);
int numPorts;