diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2008-11-04 11:35:58 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2008-11-04 11:35:58 -0500 |
commit | c68032ddcbf0aad10123710e7c7c932bf52061a0 (patch) | |
tree | 1bbeeb7adc7012716bf51c6546d7a52a3267226d /src/mem/cache/tags/iic.hh | |
parent | 4ab52cb986962f7c0fb0fa07de10d8cdfb51458a (diff) | |
download | gem5-c68032ddcbf0aad10123710e7c7c932bf52061a0.tar.xz |
decouple eviction from insertion in the cache.
Diffstat (limited to 'src/mem/cache/tags/iic.hh')
-rw-r--r-- | src/mem/cache/tags/iic.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/cache/tags/iic.hh b/src/mem/cache/tags/iic.hh index 26f9858c4..984506a93 100644 --- a/src/mem/cache/tags/iic.hh +++ b/src/mem/cache/tags/iic.hh @@ -435,7 +435,9 @@ class IIC : public BaseTags * @param writebacks List for any writebacks to be performed. * @return The block to place the replacement in. */ - IICTag* findReplacement(Addr addr, PacketList &writebacks); + IICTag* findVictim(Addr addr, PacketList &writebacks); + + void insertBlock(Addr addr, BlkType *blk); /** * Read the data from the internal storage of the given cache block. |