System: Move code in initState() back into constructor whenever possible.
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 9 Mar 2012 14:59:26 +0000 (09:59 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 9 Mar 2012 14:59:26 +0000 (09:59 -0500)
commit3ce2d0fad04201b168dd9847a5120c80408f6498
tree76c86f659e55295c3b9d85b3d424bf8fa3b35765
parentec1ef24895de75e8408398492ee8190866650bb5
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.
src/arch/alpha/linux/system.cc
src/arch/alpha/linux/system.hh
src/arch/alpha/system.cc
src/arch/alpha/system.hh
src/arch/arm/linux/system.cc
src/arch/arm/system.cc
src/arch/sparc/system.cc
src/sim/system.cc