changeset 99ba36eaa789 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=99ba36eaa789
description:
        PerfectCacheMemory: Remove references to CacheMsg
        The definition for the class CacheMsg was removed long back. Some 
declaration
        had still survived, which was recently removed. Since the 
PerfectCacheMemory
        class relied on this particular declaration, its absence let to 
compilation
        breaking down. Hence this patch.

diffstat:

 src/mem/ruby/system/PerfectCacheMemory.hh |  14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diffs (38 lines):

diff -r d131677ccfcf -r 99ba36eaa789 src/mem/ruby/system/PerfectCacheMemory.hh
--- a/src/mem/ruby/system/PerfectCacheMemory.hh Wed Jan 11 19:27:11 2012 -0500
+++ b/src/mem/ruby/system/PerfectCacheMemory.hh Thu Jan 12 00:35:57 2012 -0600
@@ -32,7 +32,6 @@
 #include "base/hashmap.hh"
 #include "mem/protocol/AccessPermission.hh"
 #include "mem/ruby/common/Address.hh"
-#include "mem/ruby/common/Global.hh"
 
 template<class ENTRY>
 struct PerfectCacheLineState
@@ -57,10 +56,6 @@
 
     static void printConfig(std::ostream& out);
 
-    // perform a cache access and see if we hit or not.  Return true
-    // on a hit.
-    bool tryCacheAccess(const CacheMsg& msg, bool& block_stc, ENTRY*& entry);
-
     // tests to see if an address is present in the cache
     bool isTagPresent(const Address& address) const;
 
@@ -118,15 +113,6 @@
 {
 }
 
-template<class ENTRY>
-inline bool
-PerfectCacheMemory<ENTRY>::tryCacheAccess(const CacheMsg& msg,
-                                          bool& block_stc, ENTRY*& entry)
-{
-    panic("not implemented");
-    return true;
-}
-
 // tests to see if an address is present in the cache
 template<class ENTRY>
 inline bool
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to