gem5/configs/test
Steve Reinhardt 88e22ee081 Get Port stuff working with full-system scripts.
Key was adding support for cloning port references (trickier than it sounds).
Got rid of class/instance thing and go back to instance cloning...
still don't allow changing SimObject parameters/children after a
class (instance) has been subclassed or instantiated (or cloned), which
should avoid bizarre unintended behavior.

configs/test/fs.py:
    Add ".port" to busses to get a port reference.
    Get rid of commented-out code.
src/python/m5/__init__.py:
    resolveSimObject should call getCCObject() instead of createCCObject()
    to avoid cycles in recursively creating objects.
src/python/m5/config.py:
    Get rid of class/instance thing and go back to instance cloning.
    Deep copy has to happen only on instance cloning then (and not on subclassing).
    Add getCCObject() method to force creation of C++ SimObject without
    recursively creating its children.
    Add support for cloning port references (trickier than it sounds).
    Also clean up some very obsolete comments.
src/python/m5/objects/Bridge.py:
src/python/m5/objects/Device.py:
    Add ports.

--HG--
extra : convert_revision : 4816d05ead0de520748aace06dbd1911a33f0af8
2006-06-15 11:45:51 -04:00
..
fs.py Get Port stuff working with full-system scripts. 2006-06-15 11:45:51 -04:00
hello Compiles now (with CPU_MODELS=SimpleCPU), but hangs 2006-03-10 10:01:29 -05:00
hello_mips Minor changes for FP ... MIPS now works for floating-point programs... 2006-05-07 14:09:19 -04:00
hello_sparc Changed the hello_sparc executable back to the cross compiled one 2006-04-28 13:11:32 -04:00
SysPaths.py Get basic full-system working with AtomicSimpleCPU. 2006-05-17 22:08:44 -04:00
test.py Move SimObject creation and Port connection loops 2006-06-13 23:19:28 -04:00