Home
last modified time | relevance | path

Searched refs:SerialHardware (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/arch/src/
Dserial.rs93 pub enum SerialHardware { enum
98 impl Display for SerialHardware { implementation
101 SerialHardware::Serial => "serial".to_string(), in fmt()
102 SerialHardware::VirtioConsole => "virtio-console".to_string(), in fmt()
109 impl FromStr for SerialHardware { implementation
113 "serial" => Ok(SerialHardware::Serial), in from_str()
114 "virtio-console" => Ok(SerialHardware::VirtioConsole), in from_str()
191 pub hardware: SerialHardware,
358 serial_parameters: &mut BTreeMap<(SerialHardware, u8), SerialParameters>, in set_default_serial_parameters() argument
362 let default_console = (SerialHardware::Serial, 1); in set_default_serial_parameters()
[all …]
Dlib.rs49 SerialHardware, SerialParameters, SerialType, SERIAL_ADDR,
152 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in build_vm() argument
/external/crosvm/src/
Dcrosvm.rs22 use arch::{Pstore, SerialHardware, SerialParameters, VcpuAffinity};
238 pub serial_parameters: BTreeMap<(SerialHardware, u8), SerialParameters>,
Dmain.rs20 set_default_serial_parameters, Pstore, SerialHardware, SerialParameters, SerialType,
470 hardware: SerialHardware::Serial, in parse_serial_options()
488 .parse::<SerialHardware>() in parse_serial_options()
552 if serial_setting.hardware == SerialHardware::Serial && serial_setting.num > 4 { in parse_serial_options()
909 SerialHardware::Serial => {} in set_argument()
Dlinux.rs67 self, LinuxArch, RunnableLinuxVm, SerialHardware, SerialParameters, VcpuAffinity,
1387 .filter(|(_k, v)| v.hardware == SerialHardware::VirtioConsole) in create_virtio_devices()
/external/crosvm/aarch64/src/
Dlib.rs12 get_serial_cmdline, GetSerialCmdlineError, RunnableLinuxVm, SerialHardware, SerialParameters,
226 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in build_vm() argument
/external/crosvm/x86_64/src/
Dlib.rs60 get_serial_cmdline, GetSerialCmdlineError, RunnableLinuxVm, SerialHardware, SerialParameters,
364 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in build_vm() argument
1128 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in setup_serial_devices() argument