diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-06-26 22:23:10 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-06-26 22:23:10 -0700 |
commit | 1b20df5607e86d3b384716792274fe01fa4f3f80 (patch) | |
tree | 5b9d672a7be75fb7426fc25216cfa40acf3a9e98 /src/mem/cache/cache.hh | |
parent | 69ff6d9163c431272fc084b8e051996b44590a53 (diff) | |
download | gem5-1b20df5607e86d3b384716792274fe01fa4f3f80.tar.xz |
Handle deferred snoops better.
--HG--
extra : convert_revision : 703da6128832eb0d5cfed7724e5105f4b3fe4f90
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r-- | src/mem/cache/cache.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh index 2a95dc53c..161fb801d 100644 --- a/src/mem/cache/cache.hh +++ b/src/mem/cache/cache.hh @@ -185,14 +185,16 @@ class Cache : public BaseCache void satisfyCpuSideRequest(PacketPtr pkt, BlkType *blk); bool satisfyMSHR(MSHR *mshr, PacketPtr pkt, BlkType *blk); - void doTimingSupplyResponse(PacketPtr req_pkt, uint8_t *blk_data); + void doTimingSupplyResponse(PacketPtr req_pkt, uint8_t *blk_data, + bool already_copied); /** * Sets the blk to the new state. * @param blk The cache block being snooped. * @param new_state The new coherence state for the block. */ - void handleSnoop(PacketPtr ptk, BlkType *blk, bool is_timing); + void handleSnoop(PacketPtr ptk, BlkType *blk, + bool is_timing, bool is_deferred); /** * Create a writeback request for the given block. |