System.py revision 1711
16516Sgblack@eecs.umich.edufrom m5 import * 26516Sgblack@eecs.umich.educlass System(SimObject): 36516Sgblack@eecs.umich.edu type = 'BaseSystem' 46516Sgblack@eecs.umich.edu boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, 56516Sgblack@eecs.umich.edu "boot processor frequency") 66516Sgblack@eecs.umich.edu memctrl = Param.MemoryController(Parent.any, "memory controller") 76516Sgblack@eecs.umich.edu physmem = Param.PhysicalMemory(Parent.any, "phsyical memory") 86516Sgblack@eecs.umich.edu kernel = Param.String("file that contains the kernel code") 96516Sgblack@eecs.umich.edu console = Param.String("file that contains the console code") 106516Sgblack@eecs.umich.edu pal = Param.String("file that contains palcode") 116516Sgblack@eecs.umich.edu readfile = Param.String("", "file to read startup script from") 126516Sgblack@eecs.umich.edu init_param = Param.UInt64(0, "numerical value to pass into simulator") 136516Sgblack@eecs.umich.edu boot_osflags = Param.String("a", "boot flags to pass to the kernel") 146516Sgblack@eecs.umich.edu system_type = Param.UInt64("Type of system we are emulating") 156516Sgblack@eecs.umich.edu system_rev = Param.UInt64("Revision of system we are emulating") 166516Sgblack@eecs.umich.edu bin = Param.Bool(False, "is this system binned") 176516Sgblack@eecs.umich.edu binned_fns = VectorParam.String([], "functions broken down and binned") 186516Sgblack@eecs.umich.edu