File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
extern crate uefi;
9
9
extern crate uefi_services;
10
- extern crate uefi_utils as utils ;
10
+ extern crate uefi_utils;
11
11
12
12
#[ macro_use]
13
13
extern crate log;
Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ use uefi::Result;
2
2
use uefi:: table:: boot;
3
3
4
4
use uefi:: proto;
5
- use utils ;
5
+ use uefi_utils ;
6
6
7
7
pub fn protocol_test ( _bt : & boot:: BootServices ) -> Result < ( ) > {
8
8
type SearchedProtocol = proto:: console:: text:: Output ;
9
9
10
- let handles = utils :: proto:: find_handles :: < SearchedProtocol > ( )
10
+ let handles = uefi_utils :: proto:: find_handles :: < SearchedProtocol > ( )
11
11
. expect ( "Failed to retrieve the list of handles" ) ;
12
12
13
13
info ! ( "Number of handles which implement the SimpleTextOutput protocol: {}" , handles. len( ) ) ;
14
14
15
- let mut debug_support_proto = utils :: proto:: find_protocol :: < proto:: debug:: DebugSupport > ( )
15
+ let mut debug_support_proto = uefi_utils :: proto:: find_protocol :: < proto:: debug:: DebugSupport > ( )
16
16
. expect ( "UEFI debug protocol is not implemented" ) ;
17
17
18
18
let debug_support = unsafe { debug_support_proto. as_mut ( ) } ;
You can’t perform that action at this time.
0 commit comments