System.py revision 2212
12330SN/Afrom m5 import *
22330SN/A
32330SN/Aclass System(SimObject):
42330SN/A    type = 'System'
52330SN/A    boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
62330SN/A                                         "boot processor frequency")
72330SN/A    memctrl = Param.MemoryController(Parent.any, "memory controller")
82330SN/A    physmem = Param.PhysicalMemory(Parent.any, "phsyical memory")
92330SN/A    init_param = Param.UInt64(0, "numerical value to pass into simulator")
102330SN/A    bin = Param.Bool(False, "is this system binned")
112330SN/A    binned_fns = VectorParam.String([], "functions broken down and binned")
122330SN/A    kernel = Param.String("file that contains the kernel code")
132330SN/A    readfile = Param.String("", "file to read startup script from")
142330SN/A
152330SN/Aclass AlphaSystem(System):
162330SN/A    type = 'AlphaSystem'
172330SN/A    console = Param.String("file that contains the console code")
182330SN/A    pal = Param.String("file that contains palcode")
192330SN/A    boot_osflags = Param.String("a", "boot flags to pass to the kernel")
202330SN/A    system_type = Param.UInt64("Type of system we are emulating")
212330SN/A    system_rev = Param.UInt64("Revision of system we are emulating")
222330SN/A