FSConfig.py (7750:0731d632db76) | FSConfig.py (7869:e9edb137c872) |
---|---|
1# Copyright (c) 2010 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 279 unchanged lines hidden (view full) --- 288 289def makeX86System(mem_mode, numCPUs = 1, mdesc = None, self = None): 290 if self == None: 291 self = X86System() 292 293 if not mdesc: 294 # generic system 295 mdesc = SysConfig() | 1# Copyright (c) 2010 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 279 unchanged lines hidden (view full) --- 288 289def makeX86System(mem_mode, numCPUs = 1, mdesc = None, self = None): 290 if self == None: 291 self = X86System() 292 293 if not mdesc: 294 # generic system 295 mdesc = SysConfig() |
296 mdesc.diskname = 'x86root.img' | |
297 self.readfile = mdesc.script() 298 299 self.mem_mode = mem_mode 300 301 # Physical memory 302 self.membus = MemBus(bus_id=1) 303 self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem())) 304 self.physmem.port = self.membus.port --- 191 unchanged lines hidden --- | 296 self.readfile = mdesc.script() 297 298 self.mem_mode = mem_mode 299 300 # Physical memory 301 self.membus = MemBus(bus_id=1) 302 self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem())) 303 self.physmem.port = self.membus.port --- 191 unchanged lines hidden --- |