summaryrefslogtreecommitdiff
path: root/src/mem/bridge.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-11-06 03:26:35 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-11-06 03:26:35 -0500
commit8bc925e36d0e5de7e70a6d5bf2b1824649932599 (patch)
tree8ffddb6d34d4c574e9d43b75c5be804a1d0d328e /src/mem/bridge.hh
parent8e55d51aaa71d71c7058e8ee15c89d3482991ba2 (diff)
downloadgem5-8bc925e36d0e5de7e70a6d5bf2b1824649932599.tar.xz
mem: Align rules for sinking inhibited packets at the slave
This patch aligns how the memory-system slaves, i.e. the various memory controllers and the bridge, identify and deal with sinking of inhibited packets that are only useful within the coherent part of the memory system. In the future we could shift the onus to the crossbar, and add a parameter "is_point_of_coherence" that would allow it to sink the aforementioned packets.
Diffstat (limited to 'src/mem/bridge.hh')
-rw-r--r--src/mem/bridge.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/bridge.hh b/src/mem/bridge.hh
index 6aebe5204..ad3585997 100644
--- a/src/mem/bridge.hh
+++ b/src/mem/bridge.hh
@@ -136,6 +136,12 @@ class Bridge : public MemObject
unsigned int respQueueLimit;
/**
+ * Upstream caches need this packet until true is returned, so
+ * hold it for deletion until a subsequent call
+ */
+ std::unique_ptr<Packet> pendingDelete;
+
+ /**
* Is this side blocked from accepting new response packets.
*
* @return true if the reserved space has reached the set limit