System.py revision 2212
113511Sgabeblack@google.comfrom m5 import *
213511Sgabeblack@google.com
313511Sgabeblack@google.comclass System(SimObject):
413511Sgabeblack@google.com    type = 'System'
513511Sgabeblack@google.com    boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
613511Sgabeblack@google.com                                         "boot processor frequency")
713511Sgabeblack@google.com    memctrl = Param.MemoryController(Parent.any, "memory controller")
813511Sgabeblack@google.com    physmem = Param.PhysicalMemory(Parent.any, "phsyical memory")
913511Sgabeblack@google.com    init_param = Param.UInt64(0, "numerical value to pass into simulator")
1013511Sgabeblack@google.com    bin = Param.Bool(False, "is this system binned")
1113511Sgabeblack@google.com    binned_fns = VectorParam.String([], "functions broken down and binned")
1213511Sgabeblack@google.com    kernel = Param.String("file that contains the kernel code")
1313511Sgabeblack@google.com    readfile = Param.String("", "file to read startup script from")
1413511Sgabeblack@google.com
1513511Sgabeblack@google.comclass AlphaSystem(System):
1613511Sgabeblack@google.com    type = 'AlphaSystem'
1713511Sgabeblack@google.com    console = Param.String("file that contains the console code")
1813511Sgabeblack@google.com    pal = Param.String("file that contains palcode")
1913511Sgabeblack@google.com    boot_osflags = Param.String("a", "boot flags to pass to the kernel")
2013511Sgabeblack@google.com    system_type = Param.UInt64("Type of system we are emulating")
2113511Sgabeblack@google.com    system_rev = Param.UInt64("Revision of system we are emulating")
2213511Sgabeblack@google.com