Lines Matching refs:machine
83 "following machine arguments: %s" % str(kwargs))
93 """Return the architectures that must be enabled in hake for this machine."""
123 """Returns list of machine-specific arguments to add to the kernel command-line"""
127 """Returns list of machine-specific arguments to add to the kernel command-line"""
131 """Returns list of machine-specific arguments to add to the PCI command-line"""
135 """Returns list of machine-specific arguments to add to the ACPI command-line"""
139 """Returns machine-specific platform specifier"""
143 """Returns machine-specific bus:dev:fun for connected network interface of machine"""
148 """Returns a machine-specific binary name for the serial driver
153 """Returns a machine-specific timeout (in seconds), or None for the default"""
157 """Returns a machine-specific timeout (in seconds), or None for the default"""
161 """Return a unique TFTP boot directory for this machine."""
166 """Set the machine to boot from the given module data."""
171 """Lock the machine to prevent concurrent access."""
176 """Unlock an already-locked machine."""
182 """Prepare a locked machine to be booted."""
187 """Reboot (or boot) the machine."""
192 """Shut down/switch off the machine."""
197 """Returns a file object to the output of a locked machine."""
212 """Returns the default boot module configuration for the given machine."""
215 machine = self
216 a = machine.get_bootarch()
222 kernel = "cpu_%s" % machine.get_platform()
226 m = barrelfish.BootModules(machine, prefix=("%s/sbin/" % a), kernel=kernel)
227 m.add_kernel_args(machine.get_kernel_args())
231 m.add_module("cpu_%s" % machine.get_platform(), machine.get_kernel_args())
236 m.set_cpu_driver(kernel, machine.get_kernel_args())
238 m.set_boot_driver(machine.get_boot_driver())
240 m.add_module("cpu", machine.get_kernel_args())
256 if not machine._uboot: # no ACPI on U-Boot
262 # Add acpi with machine-specific extra-arguments
263 m.add_module("acpi", ["boot"] + machine.get_acpi_args())
266 # Add pci with machine-specific extra-arguments
267 m.add_module("pci", ["auto"] + machine.get_pci_args())
269 # Add kaluga with machine-specific bus:dev:fun triplet for eth0
272 ["boot", "eth0=%d:%d:%d" % machine.get_eth0()])
276 m.add_module("kaluga", machine.get_kaluga_args())
286 def __init__(self, machine):
287 self._machine = machine
290 """Return a unique TFTP boot directory for this machine."""
294 """Set the machine to boot from the given module data."""
298 """Lock the machine to prevent concurrent access."""
302 """Unlock an already-locked machine."""
306 """Prepare a locked machine to be booted."""
310 """Reboot (or boot) the machine."""
314 """Shut down/switch off the machine."""
318 """Returns a file object to the output of a locked machine."""
325 """May be raised by lock() when the machine is locked by another user."""
426 def __init__(self, machine):
427 super(ARMSimulatorOperations, self).__init__(machine)
530 """Get the name of the machine produced by this factory."""
534 """Create a new machine instance."""
536 machine = self._class(options, **self._kwargs)
540 machine.setName(self._name)
541 return machine
545 """Create a new machine instance."""