diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2004-11-17 23:28:15 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2004-11-17 23:28:15 -0500 |
commit | d68a22f40fc8821c0aceaef16bed5b728fb02ce4 (patch) | |
tree | 35324807e30230b8bd194c9615bceb4392b8493b /cpu/simple_cpu/simple_cpu.hh | |
parent | 171ebf16be437ff83987da2d74c33a5407a41d48 (diff) | |
parent | 60e88ba7adaa36703aef1ff6e7ba61420905a426 (diff) | |
download | gem5-d68a22f40fc8821c0aceaef16bed5b728fb02ce4.tar.xz |
Merge zizzer:/z/m5/Bitkeeper/m5
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/clean
--HG--
extra : convert_revision : e3bce987a3c33d8c5da9a9ab0458f153a56ba73f
Diffstat (limited to 'cpu/simple_cpu/simple_cpu.hh')
-rw-r--r-- | cpu/simple_cpu/simple_cpu.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu/simple_cpu/simple_cpu.hh b/cpu/simple_cpu/simple_cpu.hh index 341a0da23..64e45d35e 100644 --- a/cpu/simple_cpu/simple_cpu.hh +++ b/cpu/simple_cpu/simple_cpu.hh @@ -184,6 +184,8 @@ class SimpleCPU : public BaseCPU // Refcounted pointer to the one memory request. MemReqPtr memReq; + StaticInstPtr<TheISA> globalsi; + class CacheCompletionEvent : public Event { private: @@ -192,6 +194,8 @@ class SimpleCPU : public BaseCPU public: CacheCompletionEvent(SimpleCPU *_cpu); + bool read; + virtual void process(); virtual const char *description(); }; @@ -238,7 +242,7 @@ class SimpleCPU : public BaseCPU Stats::Scalar<> dcacheStallCycles; Counter lastDcacheStall; - void processCacheCompletion(); + void processCacheCompletion(bool read); virtual void serialize(std::ostream &os); virtual void unserialize(Checkpoint *cp, const std::string §ion); |