Only allow SimObject classes to be instantiated (no cloning!).
authorSteve Reinhardt <stever@eecs.umich.edu>
Sat, 10 Jun 2006 23:58:36 +0000 (19:58 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sat, 10 Jun 2006 23:58:36 +0000 (19:58 -0400)
commit39f85a1de44789bf0afd1d492167d4fe4601bd82
tree4a3347baad6d92abd624f7b7ad4f55489c1b34dd
parentcd6550473957258130a549ef74e2f18102b8c881
Only allow SimObject classes to be instantiated (no cloning!).
Provide a makeClass() method to generate a new class using
a SimObject instance as a template.
All instantiation, subclassing, and class generation is done
recursively using "deep copy"-style memoization to maintain
object relationships in the face of multiple references to
shared objects/classes.

src/python/m5/multidict.py:
    Rename local dict attribute from 'dict' to 'local'
    for clarity.

--HG--
extra : convert_revision : 73ed6836216308709d7bb68d09f8131acd5f1822
src/python/m5/config.py
src/python/m5/multidict.py