diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-06-05 02:59:44 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-06-05 02:59:44 -0400 |
commit | 11f0c012075cd29a8cfd451c82f7134f79021fe1 (patch) | |
tree | 0ef49a7fd382e657ace894b6ef56621c56837b9f /cpu/simple | |
parent | e71ee12eacb115289ce96f9a384dd2c0567270a7 (diff) | |
parent | 550003e1b7a49798ff8154eae2355f298f35d346 (diff) | |
download | gem5-11f0c012075cd29a8cfd451c82f7134f79021fe1.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.my.domain:/z/binkertn/research/m5/head
--HG--
extra : convert_revision : d46f23e63e4a8c6325bcdeaf6cdd76b9e6208707
Diffstat (limited to 'cpu/simple')
-rw-r--r-- | cpu/simple/cpu.cc | 2 | ||||
-rw-r--r-- | cpu/simple/cpu.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index d16993c5c..b145e1bbd 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -147,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; |