diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-03-02 22:24:00 -0800 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-03-02 22:24:00 -0800 |
commit | ffe6bebb05c30b0f1d7cde5ad5b94a2551938630 (patch) | |
tree | f74e494de8f3ae1ac176d2c60c0fa77e470dbde2 /src/python/m5/main.py | |
parent | 4e8d2d1593475008b926829e6944a59963166079 (diff) | |
download | gem5-ffe6bebb05c30b0f1d7cde5ad5b94a2551938630.tar.xz |
Factor code out of main.cc and main.i into a bunch of files
so things are organized in a more sensible manner. Take apart
finalInit and expose the individual functions which are now
called from python. Make checkpointing a bit easier to use.
--HG--
extra : convert_revision : f470ddabbb47103e7b4734ef753c40089f2dcd9d
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r-- | src/python/m5/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 37df884d0..54368b91e 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -240,7 +240,7 @@ def main(): print "M5 Simulator System" print brief_copyright print - print "M5 compiled %s" % internal.main.cvar.compileDate; + print "M5 compiled %s" % internal.core.cvar.compileDate; print "M5 started %s" % datetime.now().ctime() print "M5 executing on %s" % socket.gethostname() print "command line:", @@ -256,7 +256,7 @@ def main(): usage(2) # tell C++ about output directory - internal.main.setOutputDir(options.outdir) + internal.core.setOutputDir(options.outdir) # update the system path with elements from the -p option sys.path[0:0] = options.path |