diff options
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"); |