diff options
author | Steve Reinhardt <stever@gmail.com> | 2008-01-02 14:42:42 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2008-01-02 14:42:42 -0800 |
commit | 538da9e24d5797c6931c0214036c0156a1144c0e (patch) | |
tree | 4eb0cd5907574ff977b01a45ce8cfa7cf11f0297 /src/mem/cache/cache_impl.hh | |
parent | 87e5fd1755beb82c76ad1f11e8be37cb1b4f115e (diff) | |
download | gem5-538da9e24d5797c6931c0214036c0156a1144c0e.tar.xz |
Don't DPRINTF in the middle of a PrintReq.
--HG--
extra : convert_revision : 6358c014d14a19a34111c39827b05987507544bb
Diffstat (limited to 'src/mem/cache/cache_impl.hh')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 257b3ef33..130a909cc 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -92,9 +92,12 @@ Cache<TagStore>::getPort(const std::string &if_name, int idx) } else if (if_name == "mem_side") { return memSidePort; } else if (if_name == "functional") { - return new CpuSidePort(name() + "-cpu_side_funcport", this, - "CpuSideFuncPort", - std::vector<Range<Addr> >()); + CpuSidePort *funcPort = + new CpuSidePort(name() + "-cpu_side_funcport", this, + "CpuSideFuncPort", + std::vector<Range<Addr> >()); + funcPort->setOtherPort(memSidePort); + return funcPort; } else { panic("Port name %s unrecognized\n", if_name); } |