#include <list>
#include "base/hashmap.hh"
-#include "mem/cache/blk.hh"
#include "mem/cache/tags/base.hh"
+#include "mem/cache/blk.hh"
#include "mem/packet.hh"
/**
const unsigned blkSize;
/** The size of the cache. */
const unsigned size;
- /** The number of blocks in the cache. */
- const unsigned numBlks; // calculated internally
/** The hit latency of the cache. */
const unsigned hitLatency;
{
return (tag);
}
+
+ /**
+ *iterated through all blocks and clear all locks
+ *Needed to clear all lock tracking at once
+ */
+ virtual void clearLocks();
};
#endif // __MEM_CACHE_TAGS_FA_LRU_HH__