diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-10 10:01:29 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-10 10:01:29 -0500 |
commit | e3d96aa889680469be44bb9cd59d3db837cb4dc4 (patch) | |
tree | 5dbb9b1342e4e9cc0a86b36687e17e41b15f8a9a /python/m5 | |
parent | f102365bfe14d25e40fb6d5cbd184138c0593c55 (diff) | |
download | gem5-e3d96aa889680469be44bb9cd59d3db837cb4dc4.tar.xz |
Compiles now (with CPU_MODELS=SimpleCPU), but hangs
on execution.
configs/test/test.py:
Move test binary out of m5-test, don't depend on
m5-test/Benchmarks.
python/m5/objects/System.py:
Split out full-system-only parameters (lost in merge).
sim/system.cc:
Need to be able to instantiate System directly in SE mode
(lost in merge).
sim/system.hh:
A few more functions here are FS-only.
configs/test/hello:
Add in binary.
--HG--
rename : configs/test.py => configs/test/test.py
extra : convert_revision : 4051b18772e0a0dcb97eb591d4373683be9f4395
Diffstat (limited to 'python/m5')
-rw-r--r-- | python/m5/objects/System.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/python/m5/objects/System.py b/python/m5/objects/System.py index 5925cadf5..2959c1d1a 100644 --- a/python/m5/objects/System.py +++ b/python/m5/objects/System.py @@ -2,15 +2,16 @@ from m5 import * class System(SimObject): type = 'System' - boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, - "boot processor frequency") - memctrl = Param.MemoryController(Parent.any, "memory controller") physmem = Param.PhysicalMemory(Parent.any, "phsyical memory") - init_param = Param.UInt64(0, "numerical value to pass into simulator") - bin = Param.Bool(False, "is this system binned") - binned_fns = VectorParam.String([], "functions broken down and binned") - kernel = Param.String("file that contains the kernel code") - readfile = Param.String("", "file to read startup script from") + if build_env['FULL_SYSTEM']: + boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, + "boot processor frequency") + memctrl = Param.MemoryController(Parent.any, "memory controller") + init_param = Param.UInt64(0, "numerical value to pass into simulator") + bin = Param.Bool(False, "is this system binned") + binned_fns = VectorParam.String([], "functions broken down and binned") + kernel = Param.String("file that contains the kernel code") + readfile = Param.String("", "file to read startup script from") class AlphaSystem(System): type = 'AlphaSystem' |