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:
@@ -564,8 +564,6 @@ CPU::init()
|
||||
// Set noSquashFromTC so that the CPU doesn't squash when initially
|
||||
// setting up registers.
|
||||
thread[tid]->noSquashFromTC = true;
|
||||
// Initialise the ThreadContext's memory proxies
|
||||
thread[tid]->initMemProxies(thread[tid]->getTC());
|
||||
}
|
||||
|
||||
// Clear noSquashFromTC.
|
||||
|
||||
@@ -143,12 +143,6 @@ class ThreadContext : public gem5::ThreadContext
|
||||
|
||||
void setProcessPtr(Process *p) override { thread->setProcessPtr(p); }
|
||||
|
||||
void
|
||||
initMemProxies(gem5::ThreadContext *tc) override
|
||||
{
|
||||
thread->initMemProxies(tc);
|
||||
}
|
||||
|
||||
/** Returns this thread's status. */
|
||||
Status status() const override { return thread->status(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user