File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pub struct BlockIoMedia {
27
27
}
28
28
29
29
#[ repr( C ) ]
30
- pub struct BlockIo {
30
+ pub struct BlockIoProtocol {
31
31
pub revision : u64 ,
32
32
pub media : * const BlockIoMedia ,
33
33
pub reset : unsafe extern "efiapi" fn ( this : * mut Self , extended_verification : bool ) -> Status ,
@@ -48,6 +48,6 @@ pub struct BlockIo {
48
48
pub flush_blocks : unsafe extern "efiapi" fn ( this : * mut Self ) -> Status ,
49
49
}
50
50
51
- impl BlockIo {
51
+ impl BlockIoProtocol {
52
52
pub const GUID : Guid = guid ! ( "964e5b21-6459-11d2-8e39-00a0c969723b" ) ;
53
53
}
Original file line number Diff line number Diff line change 3
3
use crate :: proto:: unsafe_protocol;
4
4
use crate :: { Result , StatusExt } ;
5
5
6
- pub use uefi_raw:: protocol:: block:: Lba ;
6
+ pub use uefi_raw:: protocol:: block:: { BlockIoProtocol , Lba } ;
7
7
8
8
/// The Block I/O protocol.
9
9
#[ repr( transparent) ]
10
- #[ unsafe_protocol( uefi_raw :: protocol :: block :: BlockIo :: GUID ) ]
11
- pub struct BlockIO ( uefi_raw :: protocol :: block :: BlockIo ) ;
10
+ #[ unsafe_protocol( BlockIoProtocol :: GUID ) ]
11
+ pub struct BlockIO ( BlockIoProtocol ) ;
12
12
13
13
impl BlockIO {
14
14
/// Pointer for block IO media.
You can’t perform that action at this time.
0 commit comments