summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-03-25 10:01:21 -0400
committerSteve Reinhardt <stever@gmail.com>2008-03-25 10:01:21 -0400
commit29be31ce3139c36f596e6edafbd3d253ee2200b3 (patch)
tree1a5f4364401b96594da0c4ae18f9d03a5b1ed19e /src/mem/cache/cache.hh
parent623dd7ed3a66e71e241dc8365c079cb5b42fa918 (diff)
downloadgem5-29be31ce3139c36f596e6edafbd3d253ee2200b3.tar.xz
Fix handling of writeback-induced writebacks in atomic mode.
--HG-- extra : convert_revision : 4fa64f8a929f1aa36a9d5a71b8d1816b497aca4c
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r--src/mem/cache/cache.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh
index f5f65d4dd..88c9deb7b 100644
--- a/src/mem/cache/cache.hh
+++ b/src/mem/cache/cache.hh
@@ -162,7 +162,8 @@ class Cache : public BaseCache
* @return Pointer to the cache block touched by the request. NULL if it
* was a miss.
*/
- bool access(PacketPtr pkt, BlkType *&blk, int &lat);
+ bool access(PacketPtr pkt, BlkType *&blk,
+ int &lat, PacketList &writebacks);
/**
*Handle doing the Compare and Swap function for SPARC.