mem-cache: Forward declare ReplaceableEntry
[gem5.git] / src / mem / cache / queue_entry.hh
index 02daee01a8bdc23e2920e95a4b282a6a1f548b15..7ab9e4f291163e4e0ce3602dee0789373ecdb7b9 100644 (file)
 #ifndef __MEM_CACHE_QUEUE_ENTRY_HH__
 #define __MEM_CACHE_QUEUE_ENTRY_HH__
 
+#include "base/types.hh"
 #include "mem/packet.hh"
 
-class Cache;
+class BaseCache;
 
 /**
  * A queue entry base class, to be used by both the MSHRs and
@@ -102,7 +103,7 @@ class QueueEntry : public Packet::SenderState
      * Send this queue entry as a downstream packet, with the exact
      * behaviour depending on the specific entry type.
      */
-    virtual bool sendPacket(Cache &cache) = 0;
+    virtual bool sendPacket(BaseCache &cache) = 0;
 
 };