summaryrefslogtreecommitdiff
path: root/src/mem/port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/port.hh')
-rw-r--r--src/mem/port.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mem/port.hh b/src/mem/port.hh
index b93d5d444..49b0e1846 100644
--- a/src/mem/port.hh
+++ b/src/mem/port.hh
@@ -356,6 +356,13 @@ class SlavePort : public Port
unsigned peerBlockSize() const;
/**
+ * Find out if the peer master port is snooping or not.
+ *
+ * @return true if the peer master port is snooping
+ */
+ bool isSnooping() const { return _masterPort->isSnooping(); }
+
+ /**
* Called by the owner to send a range change
*/
void sendRangeChange() const { _masterPort->recvRangeChange(); }