summaryrefslogtreecommitdiff
path: root/configs/ruby
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-02-06 22:14:19 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-02-06 22:14:19 -0800
commit7edab47448b1036952fe5c5ac3cdbf01bec3c048 (patch)
tree9779814e0dc57ffcde3f9d360d163ffb47e1dd85 /configs/ruby
parent4fa690e8ff6716be458c053fed833b75af9ba41c (diff)
downloadgem5-7edab47448b1036952fe5c5ac3cdbf01bec3c048.tar.xz
ruby: numa bit fix for sparse memory
Diffstat (limited to 'configs/ruby')
-rw-r--r--configs/ruby/MOESI_hammer.py4
-rw-r--r--configs/ruby/Ruby.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py
index df1c1d3e7..d0552263e 100644
--- a/configs/ruby/MOESI_hammer.py
+++ b/configs/ruby/MOESI_hammer.py
@@ -164,7 +164,9 @@ def create_system(options, system, piobus, dma_devices):
size = dir_size,
use_map = options.use_map,
map_levels = \
- options.map_levels),
+ options.map_levels,
+ numa_high_bit = \
+ options.numa_high_bit),
probeFilter = pf,
memBuffer = mem_cntrl,
probe_filter_enabled = options.pf_on,
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 398a18844..e5d3c4a7c 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -42,7 +42,7 @@ def define_options(parser):
help="'fixed'|'flexible'")
# ruby mapping options
- parser.add_option("--numa-high-bit", type="int", default=None,
+ parser.add_option("--numa-high-bit", type="int", default=0,
help="high order address bit to use for numa mapping. " \
"0 = highest bit, not specified = lowest bit")