b46730c7ec
Make System an object that can be instantiated. For operating systems that don't need any OS specific hacks. python/m5/objects/AlphaConsole.py: python/m5/objects/BaseCPU.py: python/m5/objects/Tsunami.py: BaseSystem -> System --HG-- rename : python/m5/objects/BaseSystem.py => python/m5/objects/System.py extra : convert_revision : e5d12db02abef1b0eda720b50dd2c09cb1ac5232
10 lines
369 B
Python
10 lines
369 B
Python
from m5 import *
|
|
from Device import PioDevice
|
|
|
|
class AlphaConsole(PioDevice):
|
|
type = 'AlphaConsole'
|
|
cpu = Param.BaseCPU(Parent.any, "Processor")
|
|
disk = Param.SimpleDisk("Simple Disk")
|
|
num_cpus = Param.Int(1, "Number of CPUs")
|
|
sim_console = Param.SimConsole(Parent.any, "The Simulator Console")
|
|
system = Param.System(Parent.any, "system object")
|