We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0738f2 commit bfb8fa6Copy full SHA for bfb8fa6
vm/devices/tdisp/src/lib.rs
@@ -123,10 +123,13 @@ pub struct TdispHostDeviceTargetEmulator {
123
124
impl TdispHostDeviceTargetEmulator {
125
/// Create a new emulator which runs the TDISP state machine for a synthetic device.
126
- pub fn new(host_interface: Arc<Mutex<dyn TdispHostDeviceInterface>>) -> Self {
+ pub fn new(
127
+ host_interface: Arc<Mutex<dyn TdispHostDeviceInterface>>,
128
+ debug_device_id: &str,
129
+ ) -> Self {
130
Self {
131
machine: TdispHostStateMachine::new(host_interface),
- debug_device_id: "".to_owned(),
132
+ debug_device_id: debug_device_id.to_owned(),
133
}
134
135
0 commit comments