Migrate most of main() and and all option parsing to python
authorNathan Binkert <binkertn@umich.edu>
Tue, 11 Jul 2006 03:00:13 +0000 (23:00 -0400)
committerNathan Binkert <binkertn@umich.edu>
Tue, 11 Jul 2006 03:00:13 +0000 (23:00 -0400)
commit55ea050d4823ca294db94d6a1f7f2fc35177e044
tree89dfadc4bb399ecc2f23a78c78f12b0ae8ae2ca7
parentad4374e0cd235ea98ddc2a4659f9d7c86e5b355b
Migrate most of main() and and all option parsing to python

configs/test/fs.py:
configs/test/test.py:
    update for the new way that m5 deals with options
src/python/SConscript:
    Compile AUTHORS, LICENSE, README, and RELEASE_NOTES into the
    python stuff.
src/python/m5/__init__.py:
    redo the way options work.
    Move them all to main.py
src/sim/main.cc:
    Migrate more functionality for main() into python.
    Namely option parsing
src/python/m5/attrdict.py:
    A dictionary object that overrides attribute access to
    do item access.
src/python/m5/main.py:
    The new location for M5's option parsing, and the main()
    routine to set up the simulation.

--HG--
extra : convert_revision : c86b87a9f508bde1994088e23fd470c7753ee4c1
configs/test/fs.py
configs/test/test.py
src/python/SConscript
src/python/m5/__init__.py
src/python/m5/attrdict.py [new file with mode: 0644]
src/python/m5/main.py [new file with mode: 0644]
src/sim/main.cc