summaryrefslogtreecommitdiff
path: root/src/mem/bus.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:00 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:00 -0400
commite82996d9dad5ac38fe2c8709c05b26cf92d356e8 (patch)
tree0d71e4381030dce2e0bfdc15f2f379d572542825 /src/mem/bus.hh
parentcb62d39835f4764562e74b0e113437e76e8949ff (diff)
downloadgem5-e82996d9dad5ac38fe2c8709c05b26cf92d356e8.tar.xz
mem: Separate the two snoop response cases in the bus
This patch makes the flow control and state updates of the coherent bus more clear by separating the two cases, i.e. forward as a snoop response, or turn it into a normal response. With this change it is also more clear what resources are being occupied, and that we effectively bypass the busy check for the second case. As a result of the change in resource usage some stats change.
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r--src/mem/bus.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh
index 5e9023c89..079d6a08d 100644
--- a/src/mem/bus.hh
+++ b/src/mem/bus.hh
@@ -130,8 +130,7 @@ class BaseBus : public MemObject
* Determine if the bus layer accepts a packet from a specific
* port. If not, the port in question is also added to the
* retry list. In either case the state of the layer is
- * updated accordingly. To ignore checking the destination
- * port (used by snoops), pass InvalidPortID.
+ * updated accordingly.
*
* @param port Source port presenting the packet
* @param dest_port_id Destination port id