summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:20 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:20 -0700
commitd8e1e5abd0a560dfeb061f430bb2470a818ae5b0 (patch)
treeba84b16ad821d1d2ef41caafebf33f51593fdad6 /configs/example
parent0368ef915a9317b34dcc9e6cd8681e25e0c7b09e (diff)
downloadgem5-d8e1e5abd0a560dfeb061f430bb2470a818ae5b0.tar.xz
ruby: fixed how ruby_fs creates phsyical memory
Now ruby_fs creates physical memory of the right size.
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/ruby_fs.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py
index 33f2fd0e5..5c508f6fe 100644
--- a/configs/example/ruby_fs.py
+++ b/configs/example/ruby_fs.py
@@ -116,12 +116,10 @@ FutureClass = None
CPUClass.clock = options.clock
-physmem = PhysicalMemory()
-
-system = makeLinuxAlphaRubySystem(test_mem_mode, physmem, bm[0])
+system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0])
system.ruby = Ruby.create_system(options,
- physmem,
+ system.physmem,
system.piobus,
system.dma_devices)