projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cache: Fix the LRU policy for classic memory hierarchy
[gem5.git]
/
src
/
mem
/
cache
/
tags
/
cacheset.hh
diff --git
a/src/mem/cache/tags/cacheset.hh
b/src/mem/cache/tags/cacheset.hh
index a1cf937cf73f97b778315178f0a752242789b676..d38a1e927db1ac72391099a2f2cba78e6212a95d 100644
(file)
--- a/
src/mem/cache/tags/cacheset.hh
+++ b/
src/mem/cache/tags/cacheset.hh
@@
-66,6
+66,12
@@
class CacheSet
*/
void moveToHead(CacheBlk *blk);
+ /**
+ * Move the given block to the tail of the list.
+ * @param blk The block to move
+ */
+ void moveToTail(CacheBlk *blk);
+
};
#endif