System: Remove redundant call to startupCPU
This commit is contained in:
parent
9190940511
commit
0737837109
1 changed files with 1 additions and 8 deletions
|
@ -257,9 +257,8 @@ System::numRunningContexts()
|
||||||
void
|
void
|
||||||
System::initState()
|
System::initState()
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
if (FullSystem) {
|
if (FullSystem) {
|
||||||
for (i = 0; i < threadContexts.size(); i++)
|
for (int i = 0; i < threadContexts.size(); i++)
|
||||||
TheISA::startupCPU(threadContexts[i], i);
|
TheISA::startupCPU(threadContexts[i], i);
|
||||||
// Moved from the constructor to here since it relies on the
|
// Moved from the constructor to here since it relies on the
|
||||||
// address map being resolved in the interconnect
|
// address map being resolved in the interconnect
|
||||||
|
@ -278,12 +277,6 @@ System::initState()
|
||||||
}
|
}
|
||||||
|
|
||||||
activeCpus.clear();
|
activeCpus.clear();
|
||||||
|
|
||||||
if (!FullSystem)
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (i = 0; i < threadContexts.size(); i++)
|
|
||||||
TheISA::startupCPU(threadContexts[i], i);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue