Lines Matching refs:mdesc
74 def fillInCmdline(mdesc, template, **kwargs):
75 kwargs.setdefault('disk', mdesc.disk())
76 kwargs.setdefault('rootdev', mdesc.rootdev())
77 kwargs.setdefault('mem', mdesc.mem())
78 kwargs.setdefault('script', mdesc.script())
81 def makeLinuxAlphaSystem(mem_mode, mdesc=None, ruby=False, cmdline=None):
89 if not mdesc:
91 mdesc = SysConfig()
92 self.readfile = mdesc.script()
124 self.mem_ranges = [AddrRange(mdesc.mem())]
127 self.disk0.childImage(mdesc.disk())
129 self.simple_disk = SimpleDisk(disk=RawDiskImage(image_file = mdesc.disk(),
138 self.boot_osflags = fillInCmdline(mdesc, cmdline)
142 def makeSparcSystem(mem_mode, mdesc=None, cmdline=None):
155 if not mdesc:
157 mdesc = SysConfig()
158 self.readfile = mdesc.script()
175 self.disk0.childImage(mdesc.disk())
207 def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
219 if not mdesc:
221 mdesc = SysConfig()
223 self.readfile = mdesc.script()
241 if os.path.split(mdesc.disk())[-1] == 'linux-aarch32-ael.img':
244 mdesc.diskname = 'linaro-minimal-aarch64.img'
251 self.cf0.childImage(mdesc.disk())
264 size_remain = long(Addr(mdesc.mem()))
322 if (os.path.split(mdesc.disk())[-1]).lower().count('android'):
323 if 'android' not in mdesc.os_type():
330 if 'android' in mdesc.os_type():
335 if 'kitkat' in mdesc.os_type():
338 elif 'nougat' in mdesc.os_type():
346 self.boot_osflags = fillInCmdline(mdesc, cmdline)
399 def makeLinuxMipsSystem(mem_mode, mdesc=None, cmdline=None):
406 if not mdesc:
408 mdesc = SysConfig()
409 self.readfile = mdesc.script()
418 self.disk0.childImage(mdesc.disk())
426 self.simple_disk = SimpleDisk(disk=RawDiskImage(image_file = mdesc.disk(),
434 self.boot_osflags = fillInCmdline(mdesc, cmdline)
498 def makeX86System(mem_mode, numCPUs=1, mdesc=None, self=None, Ruby=False):
502 if not mdesc:
504 mdesc = SysConfig()
505 self.readfile = mdesc.script()
514 convert.toMemorySize(mdesc.mem()) - convert.toMemorySize('3GB')
516 self.mem_ranges = [AddrRange(mdesc.mem())]
520 "created." % (mdesc.mem()))
539 disk0.childImage(mdesc.disk())
609 def makeLinuxX86System(mem_mode, numCPUs=1, mdesc=None, Ruby=False,
614 makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)
657 self.boot_osflags = fillInCmdline(mdesc, cmdline)