diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-10-08 19:11:06 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-10-08 19:11:06 -0700 |
commit | 91c76278b95f74a7a237ba9d89ad2818c2e20a4d (patch) | |
tree | b749ee04341a993cd9edd1545e531b0e5e82b7d2 /configs/example | |
parent | 31f3f2421454b8ba3286f6e536bcc58af5debf48 (diff) | |
download | gem5-91c76278b95f74a7a237ba9d89ad2818c2e20a4d.tar.xz |
Set cpu_id params (required by ll/sc code now).
--HG--
extra : convert_revision : e0f7ccbeccca191a8edb54494d2b4f9369e9914c
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/fs.py | 2 | ||||
-rw-r--r-- | configs/example/se.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index 5edda6e5f..6db26a02a 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -77,6 +77,8 @@ else: cpu.clock = '2GHz' cpu2.clock = '2GHz' +cpu.cpu_id = 0 +cpu2.cpu_id = 0 if options.benchmark: if options.benchmark not in Benchmarks: diff --git a/configs/example/se.py b/configs/example/se.py index de8b6c890..d1d19eebc 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -91,6 +91,7 @@ else: cpu = AtomicSimpleCPU() cpu.workload = process +cpu.cpu_id = 0 system = System(cpu = cpu, physmem = PhysicalMemory(), |