summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubyPort.cc
diff options
context:
space:
mode:
authorWilliam Wang <william.wang@arm.com>2012-01-17 12:55:09 -0600
committerWilliam Wang <william.wang@arm.com>2012-01-17 12:55:09 -0600
commite731cf4c1df8db0c7bcb689aba0146199a93b64e (patch)
treedb67ff2b15ad6aca1c7f640d873237f59e9146a6 /src/mem/ruby/system/RubyPort.cc
parent07cf9d914b292008ead7021182ec2ef8fc4671f1 (diff)
downloadgem5-e731cf4c1df8db0c7bcb689aba0146199a93b64e.tar.xz
MEM: Remove the functional ports from the memory system
The functional ports are no longer used and this patch cleans up the legacy that is still present in buses, memories, CPUs etc. Note that this does not refer to the class FunctionalPort (already removed), but rather ports with the name (and use) functional.
Diffstat (limited to 'src/mem/ruby/system/RubyPort.cc')
-rw-r--r--src/mem/ruby/system/RubyPort.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc
index 59c9bb19d..ce9973402 100644
--- a/src/mem/ruby/system/RubyPort.cc
+++ b/src/mem/ruby/system/RubyPort.cc
@@ -93,14 +93,6 @@ RubyPort::getPort(const std::string &if_name, int idx)
return physMemPort;
}
- if (if_name == "functional") {
- // Calls for the functional port only want to access
- // functional memory. Therefore, directly pass these calls
- // ports to physmem.
- assert(physmem != NULL);
- return physmem->getPort(if_name, idx);
- }
-
return NULL;
}