Set cpu_id params (required by ll/sc code now).

--HG--
extra : convert_revision : e0f7ccbeccca191a8edb54494d2b4f9369e9914c
This commit is contained in:
Steve Reinhardt
2006-10-08 19:11:06 -07:00
parent 31f3f24214
commit 91c76278b9
2 changed files with 3 additions and 0 deletions

View File

@@ -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:

View File

@@ -91,6 +91,7 @@ else:
cpu = AtomicSimpleCPU()
cpu.workload = process
cpu.cpu_id = 0
system = System(cpu = cpu,
physmem = PhysicalMemory(),