cpu,fastmodel: Eliminate the now unnecessary initMemProxies method.

The proxies this method initializes no longer exist, since they're now
created locally.

Change-Id: I5fd1c99fbc00f5057ea8868e91be02d577b1c176
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45909
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2021-05-23 03:50:43 -07:00
committed by Gabe Black
parent a6e023906e
commit 7daeed83f7
13 changed files with 2 additions and 75 deletions

View File

@@ -101,19 +101,10 @@ MinorCPU::init()
{
BaseCPU::init();
if (!params().switched_out &&
system->getMemoryMode() != enums::timing)
{
if (!params().switched_out && system->getMemoryMode() != enums::timing) {
fatal("The Minor CPU requires the memory system to be in "
"'timing' mode.\n");
}
/* Initialise the ThreadContext's memory proxies */
for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) {
ThreadContext *tc = getContext(thread_id);
tc->initMemProxies(tc);
}
}
/** Stats interface from SimObject (by way of BaseCPU) */