summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-03-16 07:47:03 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-03-16 07:47:03 -0500
commitf02eec93d6785686fb9d4f7160c4af421a47521f (patch)
tree383367ecc398270670038fb47a0619bfb7433aa6 /configs
parent13a5e9b7b589713c170b7392393ddaf1a17c6c82 (diff)
downloadgem5-f02eec93d6785686fb9d4f7160c4af421a47521f.tar.xz
ruby_fs.py: Add call to createInterruptController()
Diffstat (limited to 'configs')
-rw-r--r--configs/example/ruby_fs.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py
index 869a10ef7..8de05897e 100644
--- a/configs/example/ruby_fs.py
+++ b/configs/example/ruby_fs.py
@@ -54,7 +54,6 @@ from Caches import *
# Get paths we might need. It's expected this file is in m5/configs/example.
config_path = os.path.dirname(os.path.abspath(__file__))
config_root = os.path.dirname(config_path)
-m5_root = os.path.dirname(config_root)
parser = optparse.OptionParser()
# System options
@@ -120,11 +119,11 @@ if options.script is not None:
system.cpu = [CPUClass(cpu_id=i) for i in xrange(options.num_cpus)]
Ruby.create_system(options, system, system.piobus, system._dma_devices)
-
for (i, cpu) in enumerate(system.cpu):
#
# Tie the cpu ports to the correct ruby system ports
#
+ cpu.createInterruptController()
cpu.icache_port = system.ruby._cpu_ruby_ports[i].slave
cpu.dcache_port = system.ruby._cpu_ruby_ports[i].slave
if buildEnv['TARGET_ISA'] == "x86":
@@ -135,5 +134,4 @@ for (i, cpu) in enumerate(system.cpu):
cpu.interrupts.int_slave = system.piobus.master
root = Root(full_system = True, system = system)
-
Simulation.run(options, root, system, FutureClass)