diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 13:55:57 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 13:55:57 -0800 |
commit | b7cc66af311923610d612463d401447fb814f258 (patch) | |
tree | 9919c58d8166d2efbe9f4b9622b13f832edc1e4e /src/mem/rubymem.hh | |
parent | 5492f71755d71ba47f3510e51510b1bbe96b743a (diff) | |
download | gem5-b7cc66af311923610d612463d401447fb814f258.tar.xz |
ruby: Ruby destruction fix.
Diffstat (limited to 'src/mem/rubymem.hh')
-rw-r--r-- | src/mem/rubymem.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/rubymem.hh b/src/mem/rubymem.hh index e33418a42..1bfb135e8 100644 --- a/src/mem/rubymem.hh +++ b/src/mem/rubymem.hh @@ -40,6 +40,8 @@ #include "mem/ruby/system/RubyPort.hh" #include "params/RubyMemory.hh" +class RubyExitCallback; + class RubyMemory : public PhysicalMemory { public: @@ -119,6 +121,7 @@ class RubyMemory : public PhysicalMemory private: Tick ruby_clock; Tick ruby_phase; + RubyExitCallback* rubyExitCB; public: static std::map<int64_t, PacketPtr> pending_requests; |