diff options
author | Gene Wu <Gene.Wu@arm.com> | 2010-08-23 11:18:41 -0500 |
---|---|---|
committer | Gene Wu <Gene.Wu@arm.com> | 2010-08-23 11:18:41 -0500 |
commit | d6736384b2bb280ec12d472cac6eb25a70b4af60 (patch) | |
tree | 4ab72a9724a1f349a6c9ddc3088e73d7cebd7f90 /src/mem/cache/tags/iic.hh | |
parent | 23626d99af9469b5a86f510e0542846f5af65cbd (diff) | |
download | gem5-d6736384b2bb280ec12d472cac6eb25a70b4af60.tar.xz |
MEM: Make CLREX a first class request operation and clear locks in caches when it in received
Diffstat (limited to 'src/mem/cache/tags/iic.hh')
-rw-r--r-- | src/mem/cache/tags/iic.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/tags/iic.hh b/src/mem/cache/tags/iic.hh index 5b12128c6..5553b8ca3 100644 --- a/src/mem/cache/tags/iic.hh +++ b/src/mem/cache/tags/iic.hh @@ -439,6 +439,11 @@ class IIC : public BaseTags IICTag* findVictim(Addr addr, PacketList &writebacks); void insertBlock(Addr addr, BlkType *blk, int context_src); + /** + *iterated through all blocks and clear all locks + *Needed to clear all lock tracking at once + */ + virtual void clearLocks(); /** * Called at end of simulation to complete average block reference stats. @@ -497,6 +502,7 @@ private: * @param data_ptr The data block to free. */ void freeDataBlock(unsigned long data_ptr); + }; #endif // __IIC_HH__ |