Don't DPRINTF in the middle of a PrintReq.
--HG-- extra : convert_revision : 6358c014d14a19a34111c39827b05987507544bb
This commit is contained in:
parent
87e5fd1755
commit
538da9e24d
1 changed files with 6 additions and 3 deletions
9
src/mem/cache/cache_impl.hh
vendored
9
src/mem/cache/cache_impl.hh
vendored
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue