diff options
author | William Wang <william.wang@arm.com> | 2012-01-17 12:55:09 -0600 |
---|---|---|
committer | William Wang <william.wang@arm.com> | 2012-01-17 12:55:09 -0600 |
commit | e731cf4c1df8db0c7bcb689aba0146199a93b64e (patch) | |
tree | db67ff2b15ad6aca1c7f640d873237f59e9146a6 /src/mem/cache | |
parent | 07cf9d914b292008ead7021182ec2ef8fc4671f1 (diff) | |
download | gem5-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/cache')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 46692a8d3..13484eb79 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -103,13 +103,7 @@ Cache<TagStore>::getPort(const std::string &if_name, int idx) return cpuSidePort; } else if (if_name == "mem_side") { return memSidePort; - } else if (if_name == "functional") { - CpuSidePort *funcPort = - new CpuSidePort(name() + "-cpu_side_funcport", this, - "CpuSideFuncPort"); - funcPort->setOtherPort(memSidePort); - return funcPort; - } else { + } else { panic("Port name %s unrecognized\n", if_name); } } |