File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ /// Logical block address.
2
+ pub type Lba = u64 ;
Original file line number Diff line number Diff line change 4
4
//! ID. They can be implemented by a UEFI driver or occasionally by a
5
5
//! UEFI application.
6
6
7
+ pub mod block;
7
8
pub mod console;
8
9
pub mod device_path;
9
10
pub mod disk;
Original file line number Diff line number Diff line change 3
3
use crate :: proto:: unsafe_protocol;
4
4
use crate :: { Result , Status , StatusExt } ;
5
5
6
+ pub use uefi_raw:: protocol:: block:: Lba ;
7
+
6
8
/// The Block I/O protocol.
7
9
#[ repr( C ) ]
8
10
#[ unsafe_protocol( "964e5b21-6459-11d2-8e39-00a0c969723b" ) ]
@@ -100,9 +102,6 @@ impl BlockIO {
100
102
}
101
103
}
102
104
103
- /// EFI LBA type
104
- pub type Lba = u64 ;
105
-
106
105
/// Media information structure
107
106
#[ repr( C ) ]
108
107
#[ derive( Debug ) ]
You can’t perform that action at this time.
0 commit comments