o3 cpu: Remove unused variables

This commit is contained in:
Andreas Sandberg 2013-01-07 13:05:45 -05:00
parent e23850dd07
commit a2077ccf02
3 changed files with 0 additions and 12 deletions

View file

@ -467,9 +467,6 @@ FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params)
for (ThreadID tid = 0; tid < this->numThreads; tid++)
this->thread[tid]->setFuncExeInst(0);
lockAddr = 0;
lockFlag = false;
}
template <class Impl>

View file

@ -124,9 +124,6 @@ class FullO3CPU : public BaseO3CPU
/** Overall CPU status. */
Status _status;
/** Per-thread status in CPU, used for SMT. */
Status _threadStatus[Impl::MaxThreads];
private:
/**
@ -781,11 +778,6 @@ class FullO3CPU : public BaseO3CPU
/** Get the dcache port (used to find block size for translations). */
virtual CpuPort &getDataPort() { return dcachePort; }
Addr lockAddr;
/** Temporary fix for the lock flag, works in the UP case. */
bool lockFlag;
/** Stat for total number of times the CPU is descheduled. */
Stats::Scalar timesIdled;
/** Stat for total number of cycles the CPU spends descheduled. */

View file

@ -89,7 +89,6 @@ O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
// Transfer kernel stats from one CPU to the other.
thread->kernelStats = old_context->getKernelStats();
cpu->lockFlag = false;
} else {
thread->funcExeInst = old_context->readFuncExeInst();
}