objects/AlphaConsole.mpy: objects/AlphaTLB.mpy: objects/BadDevice.mpy: objects/BaseCPU.mpy: objects/BaseCache.mpy: objects/BaseSystem.mpy: objects/Bus.mpy: objects/CoherenceProtocol.mpy: objects/Device.mpy: objects/DiskImage.mpy: objects/Ethernet.mpy: objects/Ide.mpy: objects/IntrControl.mpy: objects/MemTest.mpy: objects/Pci.mpy: objects/PhysicalMemory.mpy: objects/Platform.mpy: objects/Process.mpy: objects/Repl.mpy: objects/Root.mpy: objects/SimConsole.mpy: objects/SimpleDisk.mpy: objects/Tsunami.mpy: objects/Uart.mpy: simobj now requires a type= line if it is actually intended to be a type sim/pyconfig/SConscript: keep track of the filename of embedded files for better error messages. sim/pyconfig/m5config.py: Add support for the trickery done with the compiler to get the simobj language feature added to the importer. fix the bug that gave objects the wrong name in error messages. test/genini.py: Globals have been fixed and use execfile --HG-- extra : convert_revision : b74495fd6f3479a87ecea7f1234ebb6731279b2b
9 lines
342 B
Text
9 lines
342 B
Text
from Device import PioDevice
|
|
|
|
simobj AlphaConsole(PioDevice):
|
|
type = 'AlphaConsole'
|
|
cpu = Param.BaseCPU(Super, "Processor")
|
|
disk = Param.SimpleDisk("Simple Disk")
|
|
num_cpus = Param.Int(1, "Number of CPUs")
|
|
sim_console = Param.SimConsole(Super, "The Simulator Console")
|
|
system = Param.BaseSystem(Super, "system object")
|