diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-04-05 11:00:48 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-04-05 11:00:48 -0700 |
commit | 0ef91aa905df33bc013b223513982da898a8bed3 (patch) | |
tree | 29d598064dae05ff93f0eee6b2fdecbd2432ee18 /test | |
parent | 65205b82acee56b0034c0122d5f5a89f57c760fc (diff) | |
download | gem5-0ef91aa905df33bc013b223513982da898a8bed3.tar.xz |
Changes to config to allow everything (including 'children'
and 'type') to be specified via instance name and not just
config class. Old code only did instance-name lookup for
SimObject parameters. This feature makes life easier for
transitioning to the Python script-based config.
sim/builder.cc:
Use ConfigNode::find to look for "type" parameter so it can
be found if set under instance name (not config class).
sim/param.cc:
Make Param<bool> accept "1" for true and "0" for false.
--HG--
extra : convert_revision : f40d0878d0f03b2e216f0506c05d0e52db608cca
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions