mem-cache: Use findBlock() in accessBlock()
[gem5.git] / src / mem / cache / tags / random_repl.hh
index 7f279537914aba926a9001e54b24f92608b79a72..8f08a703418091591f7ea5ad7cda73e73405519a 100644 (file)
@@ -58,11 +58,10 @@ class RandomRepl : public BaseSetAssoc
      */
     ~RandomRepl() {}
 
-    BlkType* accessBlock(Addr addr, bool is_secure, Cycles &lat,
-                         int context_src);
-    BlkType* findVictim(Addr addr) const;
+    CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat);
+    CacheBlk* findVictim(Addr addr);
     void insertBlock(PacketPtr pkt, BlkType *blk);
-    void invalidate(BlkType *blk);
+    void invalidate(CacheBlk *blk);
 };
 
 #endif // __MEM_CACHE_TAGS_RANDOM_REPL_HH__