Fix the SPARC fs regression by adding a call to createInterruptController.

This commit is contained in:
Gabe Black 2012-03-08 02:10:03 -08:00
parent eb43883bef
commit cda4c2d280

View file

@ -34,6 +34,8 @@ import FSConfig
cpu = AtomicSimpleCPU(cpu_id=0) cpu = AtomicSimpleCPU(cpu_id=0)
system = FSConfig.makeSparcSystem('atomic') system = FSConfig.makeSparcSystem('atomic')
system.cpu = cpu system.cpu = cpu
# create the interrupt controller
cpu.createInterruptController()
cpu.connectAllPorts(system.membus) cpu.connectAllPorts(system.membus)
root = Root(full_system=True, system=system) root = Root(full_system=True, system=system)