summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-12-19 01:49:34 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-12-19 01:49:34 -0800
commit93d89b288f7cb45a20ff8bfa90a6caa73bc098f9 (patch)
tree5477049ca6716a87dbf3426371bac81c13803b59 /configs
parentc7ca1d3c8a3b785c80ec23bd84666c3c6e08b4e4 (diff)
downloadgem5-93d89b288f7cb45a20ff8bfa90a6caa73bc098f9.tar.xz
X86: Record the memory mode when building an X86 system.
Diffstat (limited to 'configs')
-rw-r--r--configs/common/FSConfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index 7ab7319cd..cf4c9b6f5 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -216,6 +216,8 @@ def makeX86System(mem_mode, numCPUs = 1, mdesc = None, self = None):
mdesc.diskname = 'x86root.img'
self.readfile = mdesc.script()
+ self.mem_mode = mem_mode
+
# Physical memory
self.membus = MemBus(bus_id=1)
self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem()))