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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user