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