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.
This commit is contained in:
Nilay Vaish 2012-01-12 00:35:57 -06:00
parent c40ae2c3fb
commit 0e6d6a5e25

View file

@ -32,7 +32,6 @@
#include "base/hashmap.hh" #include "base/hashmap.hh"
#include "mem/protocol/AccessPermission.hh" #include "mem/protocol/AccessPermission.hh"
#include "mem/ruby/common/Address.hh" #include "mem/ruby/common/Address.hh"
#include "mem/ruby/common/Global.hh"
template<class ENTRY> template<class ENTRY>
struct PerfectCacheLineState struct PerfectCacheLineState
@ -57,10 +56,6 @@ class PerfectCacheMemory
static void printConfig(std::ostream& out); 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 // tests to see if an address is present in the cache
bool isTagPresent(const Address& address) const; bool isTagPresent(const Address& address) const;
@ -118,15 +113,6 @@ PerfectCacheMemory<ENTRY>::printConfig(std::ostream& out)
{ {
} }
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 // tests to see if an address is present in the cache
template<class ENTRY> template<class ENTRY>
inline bool inline bool