summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/o3/cpu.cc3
-rw-r--r--src/cpu/o3/cpu.hh8
-rwxr-xr-xsrc/cpu/o3/thread_context_impl.hh1
3 files changed, 0 insertions, 12 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc
index 54c55f8c7..724d88405 100644
--- a/src/cpu/o3/cpu.cc
+++ b/src/cpu/o3/cpu.cc
@@ -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>
diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh
index c6083d8d5..890598b0f 100644
--- a/src/cpu/o3/cpu.hh
+++ b/src/cpu/o3/cpu.hh
@@ -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. */
diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh
index 2de6dbc1b..0a8dfeb3e 100755
--- a/src/cpu/o3/thread_context_impl.hh
+++ b/src/cpu/o3/thread_context_impl.hh
@@ -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();
}