summaryrefslogtreecommitdiff
path: root/src/mem/snoop_filter.hh
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2016-06-20 15:11:18 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2016-06-20 15:11:18 +0100
commit40e4453ddc9ddbf5b3b949c98e2d3281cf3e97f2 (patch)
tree80b66eafb009caeecf2ff4a30c632d10c4eb04d4 /src/mem/snoop_filter.hh
parentdd0f54fed65de7962bc5621c4a601579c2f82184 (diff)
downloadgem5-40e4453ddc9ddbf5b3b949c98e2d3281cf3e97f2.tar.xz
mem: Fix the snoop filter when there is a downstream addr mapper
The snoop filter handles requests in two steps which preceed and follow the call to send the packet downstream. An address mapper could possibly change the address of the packet when it is sent downstream breaking the snoop filter assumption that the address is unchanged Change-Id: Ib2db755e9ebef4f2f7c0169a46b1b11185ffbe79 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/snoop_filter.hh')
-rwxr-xr-xsrc/mem/snoop_filter.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/snoop_filter.hh b/src/mem/snoop_filter.hh
index 2a8d1ce21..3851e5810 100755
--- a/src/mem/snoop_filter.hh
+++ b/src/mem/snoop_filter.hh
@@ -141,9 +141,9 @@ class SnoopFilter : public SimObject {
* reqLookupResult.
*
* @param will_retry This request will retry on this bus / snoop filter
- * @param cpkt Request packet, merely for sanity checking
+ * @param addr Packet address, merely for sanity checking
*/
- void finishRequest(bool will_retry, const Packet* cpkt);
+ void finishRequest(bool will_retry, const Addr addr);
/**
* Handle an incoming snoop from below (the master port). These