summaryrefslogtreecommitdiff
path: root/src/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r--src/sim/system.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh
index 2393c83f2..645ef8af2 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -117,7 +117,8 @@ class System : public MemObject
/**
* Additional function to return the Port of a memory object.
*/
- MasterPort& getMasterPort(const std::string &if_name, int idx = -1);
+ BaseMasterPort& getMasterPort(const std::string &if_name,
+ PortID idx = InvalidPortID);
static const char *MemoryModeStrings[3];