diff options
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r-- | src/cpu/base.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc index fe840cd35..f9ae9ce5d 100644 --- a/src/cpu/base.cc +++ b/src/cpu/base.cc @@ -371,8 +371,10 @@ BaseCPU::switchOut() } void -BaseCPU::takeOverFrom(BaseCPU *oldCPU, Port *ic, Port *dc) +BaseCPU::takeOverFrom(BaseCPU *oldCPU) { + Port *ic = getPort("icache_port"); + Port *dc = getPort("dcache_port"); assert(threadContexts.size() == oldCPU->threadContexts.size()); _cpuId = oldCPU->cpuId(); |