diff options
Diffstat (limited to 'mem/port.hh')
-rw-r--r-- | mem/port.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mem/port.hh b/mem/port.hh index c6dcb5d81..88cca885b 100644 --- a/mem/port.hh +++ b/mem/port.hh @@ -93,6 +93,11 @@ class Port */ void setPeer(Port *port) { peer = port; } + /** Function to set the pointer for the peer port. + @todo should be called by the configuration stuff (python). + */ + Port *getPeer(Port *port) { return peer; } + protected: /** These functions are protected because they should only be |