System.py revision 2212
1from m5 import *
2
3class System(SimObject):
4    type = 'System'
5    boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
6                                         "boot processor frequency")
7    memctrl = Param.MemoryController(Parent.any, "memory controller")
8    physmem = Param.PhysicalMemory(Parent.any, "phsyical memory")
9    init_param = Param.UInt64(0, "numerical value to pass into simulator")
10    bin = Param.Bool(False, "is this system binned")
11    binned_fns = VectorParam.String([], "functions broken down and binned")
12    kernel = Param.String("file that contains the kernel code")
13    readfile = Param.String("", "file to read startup script from")
14
15class AlphaSystem(System):
16    type = 'AlphaSystem'
17    console = Param.String("file that contains the console code")
18    pal = Param.String("file that contains palcode")
19    boot_osflags = Param.String("a", "boot flags to pass to the kernel")
20    system_type = Param.UInt64("Type of system we are emulating")
21    system_rev = Param.UInt64("Revision of system we are emulating")
22