config: Fix handling of parents for simobject vectors
authorGeoffrey Blake <geoffrey.blake@arm.com>
Thu, 31 Oct 2013 18:41:13 +0000 (13:41 -0500)
committerGeoffrey Blake <geoffrey.blake@arm.com>
Thu, 31 Oct 2013 18:41:13 +0000 (13:41 -0500)
commit15938e049267d87e4272aa863741e56eba883117
tree129ca1c1fe7843d561439b1269c9ea80016b2037
parent6b4543184ea4203f44210f8061b888d8d683979a
config: Fix handling of parents for simobject vectors

SimObjectVector objects did not provide the same interface to
the _parent attribute through get_parent() like a normal
SimObject.  It also handled assigning a _parent incorrectly
if objects in a SimObjectVector were changed post-creation,
leading to errors later when the simulator tried to execute.
This patch fixes these two omissions.
src/python/m5/SimObject.py
src/python/m5/params.py