From 7edab47448b1036952fe5c5ac3cdbf01bec3c048 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Sun, 6 Feb 2011 22:14:19 -0800 Subject: ruby: numa bit fix for sparse memory --- configs/ruby/MOESI_hammer.py | 4 +++- configs/ruby/Ruby.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'configs/ruby') 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") -- cgit v1.2.3