params: Deprecate old-style constructors; update most SimObject constructors.
SimObjects not yet updated: - Process and subclasses - BaseCPU and subclasses The SimObject(const std::string &name) constructor was removed. Subclasses that still rely on that behavior must call the parent initializer as : SimObject(makeParams(name)) --HG-- extra : convert_revision : d6faddde76e7c3361ebdbd0a7b372a40941c12ed
This commit is contained in:
@@ -53,7 +53,7 @@ class SimObject {
|
||||
void resume();
|
||||
void switchOut();
|
||||
void takeOverFrom(BaseCPU *cpu);
|
||||
SimObject(const std::string &_name);
|
||||
SimObject(const SimObjectParams *p);
|
||||
};
|
||||
|
||||
int connectPorts(SimObject *o1, const std::string &name1, int i1,
|
||||
|
||||
Reference in New Issue
Block a user