System.py revision 2570
12329SN/Afrom m5 import * 22329SN/A 32329SN/Aclass System(SimObject): 42329SN/A type = 'System' 52329SN/A physmem = Param.PhysicalMemory(Parent.any, "phsyical memory") 62329SN/A if build_env['FULL_SYSTEM']: 72329SN/A boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, 82329SN/A "boot processor frequency") 92329SN/A init_param = Param.UInt64(0, "numerical value to pass into simulator") 102329SN/A bin = Param.Bool(False, "is this system binned") 112329SN/A binned_fns = VectorParam.String([], "functions broken down and binned") 122329SN/A boot_osflags = Param.String("a", "boot flags to pass to the kernel") 132329SN/A kernel = Param.String("file that contains the kernel code") 142329SN/A readfile = Param.String("", "file to read startup script from") 152329SN/A 162329SN/Aclass AlphaSystem(System): 172329SN/A type = 'AlphaSystem' 182329SN/A console = Param.String("file that contains the console code") 192329SN/A pal = Param.String("file that contains palcode") 202329SN/A system_type = Param.UInt64("Type of system we are emulating") 212329SN/A system_rev = Param.UInt64("Revision of system we are emulating") 222329SN/A