X86: Record the memory mode when building an X86 system.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 19 Dec 2009 09:49:34 +0000 (01:49 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 19 Dec 2009 09:49:34 +0000 (01:49 -0800)
configs/common/FSConfig.py

index 7ab7319cda9f83d44dcec921e19099224439d794..cf4c9b6f5e90648a30ee91116ec23db472b963da 100644 (file)
@@ -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()))