diff options
Diffstat (limited to 'cpu/simple')
-rw-r--r-- | cpu/simple/cpu.cc | 3 | ||||
-rw-r--r-- | cpu/simple/cpu.hh | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index 306398ac2..b145e1bbd 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -67,7 +67,6 @@ #include "targetarch/alpha_memory.hh" #include "targetarch/vtophys.hh" #else // !FULL_SYSTEM -#include "eio/eio.hh" #include "mem/functional/functional.hh" #endif // FULL_SYSTEM @@ -148,7 +147,7 @@ SimpleCPU::~SimpleCPU() } void -SimpleCPU::switchOut(SamplingCPU *s) +SimpleCPU::switchOut(Sampler *s) { sampler = s; if (status() == DcacheMissStall) { diff --git a/cpu/simple/cpu.hh b/cpu/simple/cpu.hh index 9a0c2952a..1d2ca79cb 100644 --- a/cpu/simple/cpu.hh +++ b/cpu/simple/cpu.hh @@ -145,7 +145,7 @@ class SimpleCPU : public BaseCPU // execution context ExecContext *xc; - void switchOut(SamplingCPU *s); + void switchOut(Sampler *s); void takeOverFrom(BaseCPU *oldCPU); #ifdef FULL_SYSTEM @@ -169,7 +169,7 @@ class SimpleCPU : public BaseCPU // Pointer to the sampler that is telling us to switchover. // Used to signal the completion of the pipe drain and schedule // the next switchover - SamplingCPU *sampler; + Sampler *sampler; StaticInstPtr<TheISA> curStaticInst; |