diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-01-14 02:00:20 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-01-14 02:00:20 -0500 |
commit | 5d7224cc927979c6107dd630ab10d53d20a9854e (patch) | |
tree | 8917cf1a0ebb92671c1abde411dfc8a0c6c8ec09 /sim/main.cc | |
parent | e650870c159b481890f062b78910967124b1e3b6 (diff) | |
download | gem5-5d7224cc927979c6107dd630ab10d53d20a9854e.tar.xz |
Setup initialization callbacks
--HG--
extra : convert_revision : ec56a839a0489c5494bfcd9ead0fc3866f1e8ac2
Diffstat (limited to 'sim/main.cc')
-rw-r--r-- | sim/main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/main.cc b/sim/main.cc index 3cb6c8b71..d0cf23039 100644 --- a/sim/main.cc +++ b/sim/main.cc @@ -51,6 +51,7 @@ #include "sim/host.hh" #include "sim/sim_events.hh" #include "sim/sim_exit.hh" +#include "sim/sim_init.hh" #include "sim/sim_object.hh" #include "sim/sim_stats.hh" @@ -398,6 +399,8 @@ main(int argc, char **argv) exit(1); } + SimInit(); + while (!mainEventQueue.empty()) { assert(curTick <= mainEventQueue.nextTick() && "event scheduled in the past"); |