gem5/test
Steve Reinhardt 1b841a871e - Add capability to auto-generate Param structs from
.mpy SimObject descriptions.  Structs are defined
in simobj/param/ObjectName.hh.
- Move compile-time python params (from CPPDEFINES) to
separate dict from run-time params (from os.environ).
The former are needed to generate proper param structs.
This also helps prevent users from messing things up
by setting the wrong environment vars (which could have
overridden compile-time settings in the old system).
- Other misc cleanup of m5 python package.

SConscript:
    Include simobj/SConscript
build/SConstruct:
    Fix type in comment
python/SConscript:
    Move CPPDEFINES dict-generating code to m5scons.flatten_defines
python/m5/__init__.py:
    - Generate a build_env SmartDict here to hold compile-time
    params (passed in via __main__.m5_build_env).
    - Move panic and env here from config.py.
python/m5/config.py:
    Move panic, env to top level (m5/__init__.py)
python/m5/objects/BaseCPU.mpy:
    Use build_env instead of env for compile-time params
python/m5/smartdict.py:
    Add some comments.
sim/sim_object.hh:
    Include auto-generated Param struct.  Not used yet,
    just here as proof of concept.
test/genini.py:
    Put -E arguments in build_env as well as os.environ

--HG--
extra : convert_revision : cf6f4a2565b230c495b33b18612d6030988adac5
2005-03-14 07:46:26 -05:00
..
bitvectest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
circletest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
cprintftest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
foo.ini New ini-file feature: += appends RHS to LHS. 2003-10-21 21:24:34 -07:00
genini.py - Add capability to auto-generate Param structs from 2005-03-14 07:46:26 -05:00
initest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
initest.ini Import changeset 2003-10-07 10:41:54 -04:00
lru_test.cc Import changeset 2003-10-07 10:41:54 -04:00
Makefile Make a new stat type of Value which is a scalar stat that 2004-05-12 15:49:01 -04:00
nmtest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
offtest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
paramtest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
rangetest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
sized_test.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
stattest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
strnumtest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
symtest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
tokentest.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
tracetest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00