System.py revision 2212
12SN/Afrom m5 import * 21762SN/A 32SN/Aclass System(SimObject): 42SN/A type = 'System' 52SN/A boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, 62SN/A "boot processor frequency") 72SN/A memctrl = Param.MemoryController(Parent.any, "memory controller") 82SN/A physmem = Param.PhysicalMemory(Parent.any, "phsyical memory") 92SN/A init_param = Param.UInt64(0, "numerical value to pass into simulator") 102SN/A bin = Param.Bool(False, "is this system binned") 112SN/A binned_fns = VectorParam.String([], "functions broken down and binned") 122SN/A kernel = Param.String("file that contains the kernel code") 132SN/A readfile = Param.String("", "file to read startup script from") 142SN/A 152SN/Aclass AlphaSystem(System): 162SN/A type = 'AlphaSystem' 172SN/A console = Param.String("file that contains the console code") 182SN/A pal = Param.String("file that contains palcode") 192SN/A boot_osflags = Param.String("a", "boot flags to pass to the kernel") 202SN/A system_type = Param.UInt64("Type of system we are emulating") 212SN/A system_rev = Param.UInt64("Revision of system we are emulating") 222SN/A