diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-06-09 23:18:46 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-06-09 23:18:46 -0400 |
commit | 95019d0c6f1675f42d899f2899e06d3017088f25 (patch) | |
tree | 7618cd95da8299faff8dd682e088ee707cae6a7f /src/sim/root.cc | |
parent | 6de5d73a999240f92f050393bb10028968275835 (diff) | |
parent | 29e34a739b991af8d8e1eafe75ecb0904c324dc8 (diff) | |
download | gem5-95019d0c6f1675f42d899f2899e06d3017088f25.tar.xz |
Merge vm1.(none):/home/stever/bk/newmem
into vm1.(none):/home/stever/bk/newmem-py
src/python/m5/__init__.py:
src/sim/syscall_emul.cc:
Hand merge.
--HG--
extra : convert_revision : e2542735323e648383c89382421d98a7d1d761bf
Diffstat (limited to 'src/sim/root.cc')
-rw-r--r-- | src/sim/root.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/root.cc b/src/sim/root.cc index 37b768bf0..ec5e2f7e2 100644 --- a/src/sim/root.cc +++ b/src/sim/root.cc @@ -40,6 +40,7 @@ #include "sim/builder.hh" #include "sim/host.hh" #include "sim/sim_events.hh" +#include "sim/sim_exit.hh" #include "sim/sim_object.hh" #include "sim/root.hh" @@ -99,7 +100,7 @@ void Root::startup() { if (max_tick != 0) - new SimExitEvent(curTick + max_tick, "reached maximum cycle count"); + exitSimLoop(curTick + max_tick, "reached maximum cycle count"); if (progress_interval != 0) new ProgressEvent(&mainEventQueue, progress_interval); |