summaryrefslogtreecommitdiff
path: root/src/mem/physical.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/physical.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/physical.cc')
-rw-r--r--src/mem/physical.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc
index bab6e868c..8b319940b 100644
--- a/src/mem/physical.cc
+++ b/src/mem/physical.cc
@@ -372,13 +372,6 @@ PhysicalMemory::doFunctionalAccess(PacketPtr pkt)
Port *
PhysicalMemory::getPort(const std::string &if_name, int idx)
{
- // Accept request for "functional" port for backwards compatibility
- // with places where this function is called from C++. I'd prefer
- // to move all these into Python someday.
- if (if_name == "functional") {
- return new MemoryPort(csprintf("%s-functional", name()), this);
- }
-
if (if_name != "port") {
panic("PhysicalMemory::getPort: unknown port %s requested", if_name);
}