changeset 0a4b702628bd in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0a4b702628bd
description:
        config: return exit event instead of cause
        changeset: a4739b6f799d made some changes that where an exit event
        should have been returned in place of exit cause. This patch corrects
        the error.

diffstat:

 configs/common/Simulation.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b645e31a97b3 -r 0a4b702628bd configs/common/Simulation.py
--- a/configs/common/Simulation.py      Fri Mar 22 17:21:25 2013 -0500
+++ b/configs/common/Simulation.py      Fri Mar 22 17:31:24 2013 -0500
@@ -212,7 +212,7 @@
                     m5.checkpoint(joinpath(cptdir, "cpt.%d"))
                     num_checkpoints += 1
 
-    return exit_cause
+    return exit_event
 
 def benchCheckpoints(options, maxtick, cptdir):
     exit_event = m5.simulate(maxtick)
@@ -464,7 +464,7 @@
         # subsequent periods of <period>.  Checkpoint instructions
         # received from the benchmark running are ignored and skipped in
         # favor of command line checkpoint instructions.
-        exit_cause = scriptCheckpoints(options, maxtick, cptdir)
+        exit_event = scriptCheckpoints(options, maxtick, cptdir)
     else:
         if options.fast_forward:
             m5.stats.reset()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to