File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
uefi-test-runner/src/proto/console Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: reconnect_serial_to_console;
2
- use uefi:: boot;
3
2
use uefi:: proto:: console:: serial:: { ControlBits , Serial } ;
4
- use uefi:: { Result , ResultExt , Status } ;
3
+ use uefi:: { boot , Result , ResultExt , Status } ;
5
4
6
5
// For the duration of this function, the serial device is opened in
7
6
// exclusive mode. That means logs will not work, which means we should
Original file line number Diff line number Diff line change @@ -102,10 +102,13 @@ impl OvmfPaths {
102
102
) ;
103
103
}
104
104
} else {
105
- let prebuilt = Prebuilt :: fetch ( Source {
106
- tag : OVMF_PREBUILT_TAG ,
107
- sha256 : OVMF_PREBUILT_HASH ,
108
- } , OVMF_PREBUILT_DIR ) ?;
105
+ let prebuilt = Prebuilt :: fetch (
106
+ Source {
107
+ tag : OVMF_PREBUILT_TAG ,
108
+ sha256 : OVMF_PREBUILT_HASH ,
109
+ } ,
110
+ OVMF_PREBUILT_DIR ,
111
+ ) ?;
109
112
110
113
Ok ( prebuilt. get_file ( arch. into ( ) , file_type) )
111
114
}
You can’t perform that action at this time.
0 commit comments