System.py revision 2212
112855Sgabeblack@google.comfrom m5 import *
212855Sgabeblack@google.com
312855Sgabeblack@google.comclass System(SimObject):
412855Sgabeblack@google.com    type = 'System'
512855Sgabeblack@google.com    boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
612855Sgabeblack@google.com                                         "boot processor frequency")
712855Sgabeblack@google.com    memctrl = Param.MemoryController(Parent.any, "memory controller")
812855Sgabeblack@google.com    physmem = Param.PhysicalMemory(Parent.any, "phsyical memory")
912855Sgabeblack@google.com    init_param = Param.UInt64(0, "numerical value to pass into simulator")
1012855Sgabeblack@google.com    bin = Param.Bool(False, "is this system binned")
1112855Sgabeblack@google.com    binned_fns = VectorParam.String([], "functions broken down and binned")
1212855Sgabeblack@google.com    kernel = Param.String("file that contains the kernel code")
1312855Sgabeblack@google.com    readfile = Param.String("", "file to read startup script from")
1412855Sgabeblack@google.com
1512855Sgabeblack@google.comclass AlphaSystem(System):
1612855Sgabeblack@google.com    type = 'AlphaSystem'
1712855Sgabeblack@google.com    console = Param.String("file that contains the console code")
1812855Sgabeblack@google.com    pal = Param.String("file that contains palcode")
1912855Sgabeblack@google.com    boot_osflags = Param.String("a", "boot flags to pass to the kernel")
2012855Sgabeblack@google.com    system_type = Param.UInt64("Type of system we are emulating")
2112855Sgabeblack@google.com    system_rev = Param.UInt64("Revision of system we are emulating")
2212855Sgabeblack@google.com