System.py revision 1692
1from m5 import * 2class BaseSystem(SimObject): 3 type = 'BaseSystem' 4 abstract = True 5 boot_cpu_frequency = Param.Frequency(Self.cpu[0].cycle_time.frequency, 6 "boot processor frequency") 7 memctrl = Param.MemoryController(Parent.any, "memory controller") 8 physmem = Param.PhysicalMemory(Parent.any, "phsyical memory") 9 kernel = Param.String("file that contains the kernel code") 10 console = Param.String("file that contains the console code") 11 pal = Param.String("file that contains palcode") 12 readfile = Param.String("", "file to read startup script from") 13 init_param = Param.UInt64(0, "numerical value to pass into simulator") 14 boot_osflags = Param.String("a", "boot flags to pass to the kernel") 15 system_type = Param.UInt64("Type of system we are emulating") 16 system_rev = Param.UInt64("Revision of system we are emulating") 17 bin = Param.Bool(False, "is this system binned") 18 binned_fns = VectorParam.String([], "functions broken down and binned") 19