summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/full_cpu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/beta_cpu/full_cpu.cc')
-rw-r--r--cpu/beta_cpu/full_cpu.cc16
1 files changed, 2 insertions, 14 deletions
diff --git a/cpu/beta_cpu/full_cpu.cc b/cpu/beta_cpu/full_cpu.cc
index d5228601c..04c74393b 100644
--- a/cpu/beta_cpu/full_cpu.cc
+++ b/cpu/beta_cpu/full_cpu.cc
@@ -15,22 +15,10 @@
using namespace std;
-#ifdef FULL_SYSTEM
-BaseFullCPU::BaseFullCPU(Params &params)
- : BaseCPU(params.name, params.numberOfThreads,
- params.maxInstsAnyThread, params.maxInstsAllThreads,
- params.maxLoadsAnyThread, params.maxLoadsAllThreads,
- params._system, params.freq)
-{
-}
-#else
BaseFullCPU::BaseFullCPU(Params &params)
- : BaseCPU(params.name, params.numberOfThreads,
- params.maxInstsAnyThread, params.maxInstsAllThreads,
- params.maxLoadsAnyThread, params.maxLoadsAllThreads)
+ : BaseCPU(&params)
{
}
-#endif // FULL_SYSTEM
template <class Impl>
FullBetaCPU<Impl>::TickEvent::TickEvent(FullBetaCPU<Impl> *c)
@@ -515,6 +503,6 @@ FullBetaCPU<Impl>::wakeDependents(DynInstPtr &inst)
}
// Forward declaration of FullBetaCPU.
-template FullBetaCPU<AlphaSimpleImpl>;
+template class FullBetaCPU<AlphaSimpleImpl>;
#endif // __SIMPLE_FULL_CPU_HH__