diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-05-23 14:29:23 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-05-23 14:29:23 -0700 |
commit | 19bb896bfeffc0b49197f5b2d8395a6ee4c5e94d (patch) | |
tree | a5d4872845cfe0ebb67f95c39729047461966738 /src/mem/translating_port.cc | |
parent | 8a652f9871f9f29279958137e960c8e4a5d1c1f4 (diff) | |
download | gem5-19bb896bfeffc0b49197f5b2d8395a6ee4c5e94d.tar.xz |
config: revamp x86 config to avoid appending to SimObjectVectors
A significant contributor to the need for adoptOrphanParams()
is the practice of appending to SimObjectVectors which have
already been assigned as children. This practice sidesteps the
assignment operation for those appended SimObjects, which is
where parent/child relationships are typically established.
This patch reworks the config scripts that use append() on
SimObjectVectors, which all happen to be in the x86 system
configuration. At some point in the future, I hope to make
SimObjectVectors immutable (by deriving from tuple rather than
list), at which time this patch will be necessary for correct
operation. For now, it just avoids some of the warning
messages that get printed in adoptOrphanParams().
Diffstat (limited to 'src/mem/translating_port.cc')
0 files changed, 0 insertions, 0 deletions