gem5/python/m5/objects
Steve Reinhardt c8538d6a7e Enhancements to python config proxy class.
python/m5/config.py:
    - Enhanced Proxy class now supports subscripting, e.g.,
    parent.cpu[0] or even parent.cpu[0].icache.

    - Proxy also supports multiplication (e.g., parent.cycle * 3),
    though this feature has not been tested.

    - Subscript 0 works even on non-lists, so you can safely say
    cpu[0] and get the first cpu even if there's only one.

    - Changed name of proxy object from 'Super' to 'parent', and
    changed "wild card" notation from plain 'Super' to 'parent.any'.
python/m5/objects/AlphaConsole.mpy:
python/m5/objects/BaseCPU.mpy:
python/m5/objects/BaseSystem.mpy:
python/m5/objects/Device.mpy:
python/m5/objects/Ethernet.mpy:
python/m5/objects/Ide.mpy:
python/m5/objects/IntrControl.mpy:
python/m5/objects/Pci.mpy:
python/m5/objects/PhysicalMemory.mpy:
python/m5/objects/Platform.mpy:
python/m5/objects/SimConsole.mpy:
python/m5/objects/SimpleDisk.mpy:
python/m5/objects/Tsunami.mpy:
python/m5/objects/Uart.mpy:
    Change 'Super.foo' to 'parent.foo' (and 'Super' to 'parent.any').

--HG--
extra : convert_revision : f996d0a3366d5e3e60ae5973691148c3d7cd497d
2005-03-16 00:40:48 -05:00
..
AlphaConsole.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
AlphaTLB.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
BadDevice.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
BaseCache.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
BaseCPU.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
BaseSystem.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Bus.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
CoherenceProtocol.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Device.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
DiskImage.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Ethernet.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Ide.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
IntrControl.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
MemTest.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Pci.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
PhysicalMemory.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Platform.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Process.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Repl.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Root.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
SimConsole.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
SimpleDisk.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Tsunami.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Uart.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00