X86: Record the memory mode when building an X86 system.
This commit is contained in:
parent
c7ca1d3c8a
commit
93d89b288f
1 changed files with 2 additions and 0 deletions
|
@ -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()))
|
||||
|
|
Loading…
Reference in a new issue