Hi Brad, did you miss out on the '_' in _dma_devices?

--
Nilay


diff -r 6f5299ff8260 -r 00ad807ed2ca configs/example/ruby_fs.py
--- a/configs/example/ruby_fs.py        Sun Feb 06 22:14:18 2011 -0800
+++ b/configs/example/ruby_fs.py        Sun Feb 06 22:14:18 2011 -0800
@@ -109,12 +109,19 @@

 CPUClass.clock = options.clock

-system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0])
-
-system.ruby = Ruby.create_system(options,
-                                 system,
-                                 system.piobus,
-                                 system._dma_devices)
+if buildEnv['TARGET_ISA'] == "alpha":
+    system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0])
+    system.ruby = Ruby.create_system(options,
+                                     system,
+                                     system.piobus,
+                                     system.dma_devices)
+elif buildEnv['TARGET_ISA'] == "x86":
+ system = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0], True)
+    system.ruby = Ruby.create_system(options,
+                                     system,
+                                     system.piobus)
+else:
+    fatal("incapable of building non-alpha or non-x86 full system!")

 system.cpu = [CPUClass(cpu_id=i) for i in xrange(options.num_cpus)]
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to