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