diff options
Diffstat (limited to 'src/mem/addr_mapper.hh')
-rw-r--r-- | src/mem/addr_mapper.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/addr_mapper.hh b/src/mem/addr_mapper.hh index f469b26ba..887635999 100644 --- a/src/mem/addr_mapper.hh +++ b/src/mem/addr_mapper.hh @@ -62,11 +62,11 @@ class AddrMapper : public MemObject virtual ~AddrMapper() { } - virtual MasterPort& getMasterPort(const std::string& if_name, - int idx = -1); + virtual BaseMasterPort& getMasterPort(const std::string& if_name, + PortID idx = InvalidPortID); - virtual SlavePort& getSlavePort(const std::string& if_name, - int idx = -1); + virtual BaseSlavePort& getSlavePort(const std::string& if_name, + PortID idx = InvalidPortID); virtual void init(); |