summaryrefslogtreecommitdiff
path: root/src/mem/cache/mshr.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-02-03 14:25:59 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-02-03 14:25:59 -0500
commit193325ff60d11012f4fefb26c2b574b227ad5f1d (patch)
treeb1f4114989279a595f27329c6424ae300b05c82e /src/mem/cache/mshr.hh
parentf0a764edc6dd9c844a1514a005f0695a9149b58a (diff)
downloadgem5-193325ff60d11012f4fefb26c2b574b227ad5f1d.tar.xz
mem: Clarify cache behaviour for pending dirty responses
This patch adds a bit of clarification around the assumptions made in the cache when packets are sent out, and dirty responses are pending. As part of the change, the marking of an MSHR as in service is simplified slightly, and comments are added to explain what assumptions are made.
Diffstat (limited to 'src/mem/cache/mshr.hh')
-rw-r--r--src/mem/cache/mshr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/mshr.hh b/src/mem/cache/mshr.hh
index 65357b9e6..c8967d2ea 100644
--- a/src/mem/cache/mshr.hh
+++ b/src/mem/cache/mshr.hh
@@ -225,7 +225,7 @@ class MSHR : public Packet::SenderState, public Printable
void allocate(Addr addr, int size, PacketPtr pkt,
Tick when, Counter _order);
- bool markInService(PacketPtr pkt);
+ bool markInService(bool pending_dirty_resp);
void clearDownstreamPending();