summaryrefslogtreecommitdiff
path: root/src/python/m5/main.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-11-12 18:49:16 -0800
committerNathan Binkert <binkertn@umich.edu>2006-11-12 18:49:16 -0800
commitd2d44317528ffadf81fbb95c92291d8d2d4a2190 (patch)
treed874b36b4d9a65c70c4e797d0e544756d5d0efdf /src/python/m5/main.py
parent6098f57b08d27a66ba9b2f8780a69e73b0e67c29 (diff)
downloadgem5-d2d44317528ffadf81fbb95c92291d8d2d4a2190.tar.xz
Create a module called internal where swigged stuff goes.
Rename cc_main to internal.main --HG-- extra : convert_revision : e938005f600fbf8a43435e29426a948f4501f072
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r--src/python/m5/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index ef37f62ac..1e224c0cf 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -211,7 +211,7 @@ def parse_args():
return opts,args
def main():
- import cc_main
+ import internal
parse_args()
@@ -249,7 +249,7 @@ def main():
print "M5 Simulator System"
print brief_copyright
print
- print "M5 compiled %s" % cc_main.cvar.compileDate;
+ print "M5 compiled %s" % internal.main.cvar.compileDate;
print "M5 started %s" % datetime.now().ctime()
print "M5 executing on %s" % socket.gethostname()
print "command line:",
@@ -264,7 +264,7 @@ def main():
usage(2)
# tell C++ about output directory
- cc_main.setOutputDir(options.outdir)
+ internal.main.setOutputDir(options.outdir)
# update the system path with elements from the -p option
sys.path[0:0] = options.path