summaryrefslogtreecommitdiff
path: root/src/mem/bus.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r--src/mem/bus.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh
index 0ad4aad60..350a67b43 100644
--- a/src/mem/bus.hh
+++ b/src/mem/bus.hh
@@ -156,6 +156,8 @@ class Bus : public MemObject
void onRetryList(bool newVal)
{ _onRetryList = newVal; }
+ int getId() { return id; }
+
protected:
/** When reciving a timing request from the peer port (at id),