gem5/sim
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
..
async.hh Import changeset 2003-10-07 10:41:54 -04:00
builder.cc New and improved configuration mechanism. No more writing of 2005-01-15 04:12:25 -05:00
builder.hh New and improved configuration mechanism. No more writing of 2005-01-15 04:12:25 -05:00
debug.cc Minor fixes. 2004-11-18 10:52:56 -05:00
debug.hh Minor fixes. 2004-11-18 10:52:56 -05:00
eventq.cc a little bit more info when dumping the event queue. 2004-07-23 00:15:52 -04:00
eventq.hh Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00
host.hh Fix byteswap on LP64 (amd64) 2004-07-02 16:40:23 -04:00
main.cc stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
param.cc enable the Trace, Statistics, and Serialize param contexts. 2005-02-09 17:33:28 -05:00
param.hh Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00
process.cc Changed all syscalls to use syscall return object. 2005-03-09 15:52:10 -05:00
process.hh Changed all syscalls to use syscall return object. 2005-03-09 15:52:10 -05:00
serialize.cc Rework the command line paramters for python output and how 2005-02-11 09:47:41 -05:00
serialize.hh Don't serialize the absolute path so we can move checkpoints around. 2004-06-28 15:54:05 -04:00
sim_events.cc add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
sim_events.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
sim_exit.hh Move the m5 pseudo instructions into their own file 2003-11-02 20:43:39 -05:00
sim_object.cc Move all of the object matching code to a shared file so it can 2004-07-30 10:47:53 -04:00
sim_object.hh - Add capability to auto-generate Param structs from 2005-03-14 07:46:26 -05:00
startup.cc Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00
startup.hh add a new phase to the simulator. Basically the simulator now goes 2004-11-03 11:47:55 -05:00
stat_control.cc sim ticks should be the number of elapsed ticks, not curTick 2004-07-23 00:24:24 -04:00
stat_control.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
stats.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
syscall_emul.cc Removed unecessary constructor call at each return. 2005-03-10 14:20:12 -05:00
syscall_emul.hh Removed unecessary constructor call at each return. 2005-03-10 14:20:12 -05:00
system.cc Add support for sampled PC profiling to FullCPU. 2004-11-15 01:56:40 -05:00
system.hh Minor cleanup of symtab code/includes. 2004-11-15 20:30:51 -05:00
universe.cc Rework the command line paramters for python output and how 2005-02-11 09:47:41 -05:00