summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-03-01 11:37:02 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-03-01 11:37:02 -0600
commitc80af04d7df7586352841a65a4398baf21e0c122 (patch)
tree60292236eecafe541bc47bb9b987e6fb7d067dae /configs/example
parente11847bfa949481322f2031049402a093ed442a7 (diff)
downloadgem5-c80af04d7df7586352841a65a4398baf21e0c122.tar.xz
x86: Fix switching of CPUs
This patch prevents creation of interrupt controller for cpus that will be switched in later
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/fs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 4c2aeeefe..41b4a75ae 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -188,6 +188,7 @@ if len(bm) == 2:
drive_sys = makeArmSystem(drive_mem_mode, options.machine_type, bm[1])
drive_sys.cpu = DriveCPUClass(cpu_id=0)
+ drive_sys.cpu.createInterruptController()
drive_sys.cpu.connectAllPorts(drive_sys.membus)
if options.fastmem:
drive_sys.cpu.physmem_port = drive_sys.physmem.port