projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem-cache: Add function to move blocks in the tags
[gem5.git]
/
src
/
mem
/
cache
/
tags
/
base_set_assoc.hh
diff --git
a/src/mem/cache/tags/base_set_assoc.hh
b/src/mem/cache/tags/base_set_assoc.hh
index 787cc6bd0132870c81d2cb6f68626d1264933789..b13b0078a2934a523f13f9797c4c29e133743a10 100644
(file)
--- a/
src/mem/cache/tags/base_set_assoc.hh
+++ b/
src/mem/cache/tags/base_set_assoc.hh
@@
-199,6
+199,8
@@
class BaseSetAssoc : public BaseTags
replacementPolicy->reset(blk->replacementData);
}
+ void moveBlock(CacheBlk *src_blk, CacheBlk *dest_blk) override;
+
/**
* Limit the allocation for the cache ways.
* @param ways The maximum number of ways available for replacement.