System: Move code in initState() back into constructor whenever possible.
Review Request #1085 - Created March 6, 2012 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 8881:288e30cf3874 --------------------------- System: Move code in initState() back into constructor whenever possible. The change to port proxies recently moved code out of the constructor into initState(). This is needed for code that loads data into memory, however for code that setups symbol tables, kernel based events, etc this is the wrong thing to do as that code is only called when a checkpoint isn't being restored from.
My bad. Thanks for sorting it out. It would be nice to know if there is a simple test we could have run (in addition "regress all") to catch this problem much sooner?
