From 584eba3ab66c8f95e2344cf7115ec2fb13604eb1 Mon Sep 17 00:00:00 2001 From: Lena Olson Date: Tue, 11 Sep 2012 14:14:49 -0400 Subject: Cache: Split invalidateBlk up to seperate block vs. tags This seperates the functionality to clear the state in a block into blk.hh and the functionality to udpate the tag information into the tags. This gets rid of the case where calling invalidateBlk on an already-invalid block does something different than calling it on a valid block, which was confusing. --- src/mem/cache/tags/iic.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mem/cache/tags/iic.hh') diff --git a/src/mem/cache/tags/iic.hh b/src/mem/cache/tags/iic.hh index fd63daff7..97011d1c5 100644 --- a/src/mem/cache/tags/iic.hh +++ b/src/mem/cache/tags/iic.hh @@ -408,7 +408,7 @@ class IIC : public BaseTags * Invalidate a block. * @param blk The block to invalidate. */ - void invalidateBlk(BlkType *blk); + void invalidate(BlkType *blk); /** * Access block and update replacement data. May not succeed, in which case -- cgit v1.2.3