summaryrefslogtreecommitdiff
path: root/src/mem/cache/blk.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/blk.hh')
-rw-r--r--src/mem/cache/blk.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/cache/blk.hh b/src/mem/cache/blk.hh
index 369de6d11..4f023e848 100644
--- a/src/mem/cache/blk.hh
+++ b/src/mem/cache/blk.hh
@@ -98,6 +98,9 @@ class CacheBlk
*/
int set;
+ /** whether this block has been touched */
+ bool isTouched;
+
/** Number of references to this block since it was brought in. */
int refCount;
@@ -130,7 +133,7 @@ class CacheBlk
CacheBlk()
: asid(-1), tag(0), data(0) ,size(0), status(0), whenReady(0),
- set(-1), refCount(0)
+ set(-1), isTouched(false), refCount(0)
{}
/**