projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mem-cache: Use findBlock() in accessBlock()
[gem5.git]
/
src
/
mem
/
cache
/
tags
/
random_repl.hh
diff --git
a/src/mem/cache/tags/random_repl.hh
b/src/mem/cache/tags/random_repl.hh
index 7f279537914aba926a9001e54b24f92608b79a72..8f08a703418091591f7ea5ad7cda73e73405519a 100644
(file)
--- 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() {}
*/
~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 insertBlock(PacketPtr pkt, BlkType *blk);
- void invalidate(
BlkType
*blk);
+ void invalidate(
CacheBlk
*blk);
};
#endif // __MEM_CACHE_TAGS_RANDOM_REPL_HH__
};
#endif // __MEM_CACHE_TAGS_RANDOM_REPL_HH__