Alpha System: override startup(), instead of loadState()
Review Request #1345 - Created Aug. 12, 2012 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9149:56533035907f --------------------------- Alpha System: override startup(), instead of loadState() Alpha System was overriding loadState() function to setup some functional event. This is not correct since it is not known if the memory has been correctly setup. This was also happening in the initState() function. With this patch, Alpha System overrides the startup() function, and sets up functional events in this function.
Posted (Aug. 12, 2012, 2:39 a.m.)
This doesn't work. startup is only called before tick 0, so if you restore from a checkpoint these events won't got created. by the time loadstate is called the system should be all connected up
Ship It!
