Eden Avivi has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/33514 )
Change subject: sim: MasterID to UniqueID
......................................................................
sim: MasterID to UniqueID
Change-Id: I5096af531d0c774e183fb04428d672add75c4046
---
M src/sim/system.hh
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/sim/system.hh b/src/sim/system.hh
index 5ab5144..b6f7583 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -482,31 +482,31 @@
* @param masterName full name of the master
* @return the master's ID.
*/
- MasterID getGlobalMasterId(const std::string& master_name);
+ UniqueID getGlobalMasterId(const std::string& master_name);
/**
* Get the name of an object for a given request id.
*/
- std::string getMasterName(MasterID master_id);
+ std::string getMasterName(UniqueID master_id);
/**
- * Looks up the MasterID for a given SimObject
- * returns an invalid MasterID (invldMasterId) if not found.
+ * Looks up the UniqueID for a given SimObject
+ * returns an invalid UniqueID (invldMasterId) if not found.
*/
- MasterID lookupMasterId(const SimObject* obj) const;
+ UniqueID lookupMasterId(const SimObject* obj) const;
/**
- * Looks up the MasterID for a given object name string
+ * Looks up the UniqueID for a given object name string
* returns an invalid MasterID (invldMasterId) if not found.
*/
- MasterID lookupMasterId(const std::string& name) const;
+ UniqueID lookupMasterId(const std::string& name) const;
/** Get the number of masters registered in the system */
- MasterID maxMasters() { return masters.size(); }
+ UniqueID maxMasters() { return masters.size(); }
protected:
/** helper function for getMasterId */
- MasterID _getMasterId(const SimObject* master,
+ UniqueID _getMasterId(const SimObject* master,
const std::string& master_name);
/**
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33514
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I5096af531d0c774e183fb04428d672add75c4046
Gerrit-Change-Number: 33514
Gerrit-PatchSet: 1
Gerrit-Owner: Eden Avivi <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s