From c80af04d7df7586352841a65a4398baf21e0c122 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Thu, 1 Mar 2012 11:37:02 -0600 Subject: x86: Fix switching of CPUs This patch prevents creation of interrupt controller for cpus that will be switched in later --- configs/example/fs.py | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/example/fs.py') 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 -- cgit v1.2.3