gem5/sim
Nathan Binkert 78ae8764a9 add a new phase to the simulator. Basically the simulator now goes
through the following phases.

1) Construct all param contexts
2) Call the checkParams() on each context
3) Build the configuration hierarchy
4) Construct all SimObjects
5) Initialize all SimObjects by calling init() on each one
6) Unserialize the checkpoint
7) Register all statisitcs
8) Check validity of all statistics (after that, no new stats)
9) Reset all stats.
10) Call SimStartup() which calls startup() on all SimObjects,
ParamContexts, and any other object deriving from StartupCallback

SConscript:
    no more SimInit() we have SimStartup() now
sim/param.hh:
    Make all params have a startup callback.
sim/sim_events.cc:
    the init callbacks no longer exist.  We can simplify code by
    using startup().
sim/sim_object.hh:
    Make all SimObjects derive from StartupCallback

--HG--
extra : convert_revision : ab81e259eb5510cc597f7bacb2bfb619fb4cc15f
2004-11-03 11:47:55 -05:00
..
pyconfig Integrate Python configuration script parsing into m5 itself. 2004-08-05 02:03:47 -07:00
async.hh Import changeset 2003-10-07 10:41:54 -04:00
builder.cc Add explicit phases to order ParamContext initializations. 2004-10-25 00:56:47 -04:00
builder.hh Clean up/standardize handling of various output files. 2004-10-19 20:00:20 -04:00
debug.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
debug.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
eventq.cc a little bit more info when dumping the event queue. 2004-07-23 00:15:52 -04:00
eventq.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
host.hh Fix byteswap on LP64 (amd64) 2004-07-02 16:40:23 -04:00
main.cc add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
param.cc Add explicit phases to order ParamContext initializations. 2004-10-25 00:56:47 -04:00
param.hh add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
process.cc Clean up obsolete g++ 2.95 workaround. 2004-10-17 22:04:23 -04:00
process.hh - Clean up and factor out all of the binning code into a 2004-08-20 11:35:31 -04:00
serialize.cc Clean up/standardize handling of various output files. 2004-10-19 20:00:20 -04:00
serialize.hh Don't serialize the absolute path so we can move checkpoints around. 2004-06-28 15:54:05 -04:00
sim_events.cc add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
sim_events.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
sim_exit.hh Move the m5 pseudo instructions into their own file 2003-11-02 20:43:39 -05:00
sim_object.cc Move all of the object matching code to a shared file so it can 2004-07-30 10:47:53 -04:00
sim_object.hh add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
startup.cc add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
startup.hh add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
stat_control.cc sim ticks should be the number of elapsed ticks, not curTick 2004-07-23 00:24:24 -04:00
stat_control.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
stats.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
syscall_emul.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
syscall_emul.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
system.cc Fixes for bigendian platforms 2004-10-16 19:10:51 -05:00
system.hh added system option to bin interrupt code seperately. 2004-09-03 14:12:59 -04:00
universe.cc Add explicit phases to order ParamContext initializations. 2004-10-25 00:56:47 -04:00