Set cpu_id params (required by ll/sc code now).
authorSteve Reinhardt <stever@eecs.umich.edu>
Mon, 9 Oct 2006 02:11:06 +0000 (19:11 -0700)
committerSteve Reinhardt <stever@eecs.umich.edu>
Mon, 9 Oct 2006 02:11:06 +0000 (19:11 -0700)
--HG--
extra : convert_revision : e0f7ccbeccca191a8edb54494d2b4f9369e9914c

configs/example/fs.py
configs/example/se.py

index 5edda6e5ff3685e4a6d45dfb888c8a28b8819e48..6db26a02a47d6aaa06199664484002a1c0f13089 100644 (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:
index de8b6c890a3df1540376a3fda351f4db7f13f96d..d1d19eebc5fc0b1068011ebe25a32b908d698a90 100644 (file)
@@ -91,6 +91,7 @@ else:
     cpu = AtomicSimpleCPU()
 
 cpu.workload = process
+cpu.cpu_id = 0
 
 system = System(cpu = cpu,
                 physmem = PhysicalMemory(),