summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
commit61e6b9e701c25537319e91b74362b962616ffee6 (patch)
tree445c29acac7c9384aaec6d492a8ad2e63f5ea94a
parentf3cdc0d5a332cccf7d567f1a134bbc7a58b7cf22 (diff)
downloadgem5-61e6b9e701c25537319e91b74362b962616ffee6.tar.xz
added sparse memory support to hammer
-rw-r--r--configs/ruby/MOESI_hammer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py
index 17fcefb56..e68a0e23f 100644
--- a/configs/ruby/MOESI_hammer.py
+++ b/configs/ruby/MOESI_hammer.py
@@ -113,7 +113,9 @@ def create_system(options, phys_mem, piobus, dma_devices):
dir_cntrl = Directory_Controller(version = i,
directory = \
RubyDirectoryMemory(version = i,
- size = dir_size),
+ size = dir_size,
+ use_map = options.use_map,
+ map_levels = options.map_levels),
memBuffer = mem_cntrl)
dir_cntrl_nodes.append(dir_cntrl)