misc: Stop using BaseCPU::getSendFunctional.

This method is no longer used, and has been replaced by the
ThreadContext::sendFunctional method.

Change-Id: I5a37f44d922245f681b6185c27232150a4eea4f0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45864
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Yu-hsin Wang <yuhsingw@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Gabe Black
2021-05-22 17:51:34 -07:00
parent 31952c32f7
commit 41e2511259
3 changed files with 3 additions and 9 deletions

View File

@@ -88,11 +88,7 @@ ThreadState::initMemProxies(ThreadContext *tc)
// switching the CPU in.
if (FullSystem) {
assert(physProxy == NULL);
// This cannot be done in the constructor as the thread state
// itself is created in the base cpu constructor and the
// getSendFunctional is a virtual function
physProxy = new PortProxy(baseCpu->getSendFunctional(),
baseCpu->cacheLineSize());
physProxy = new PortProxy(tc, baseCpu->cacheLineSize());
assert(virtProxy == NULL);
virtProxy = new TranslatingPortProxy(tc);