X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmem%2Fcache%2Ftags%2Frandom_repl.hh;h=8f08a703418091591f7ea5ad7cda73e73405519a;hb=a66fe6a8c36c9ab49cb3a35065bfc645d51036c8;hp=7f279537914aba926a9001e54b24f92608b79a72;hpb=a628afedade8d7b7cab108a81e714fc2755b4af3;p=gem5.git diff --git a/src/mem/cache/tags/random_repl.hh b/src/mem/cache/tags/random_repl.hh index 7f2795379..8f08a7034 100644 --- a/src/mem/cache/tags/random_repl.hh +++ b/src/mem/cache/tags/random_repl.hh @@ -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__