Debian Codegraph @

.cargo/vendor/r-efi/src/protocols/simple_file_system.rs

raw
1 //! Simple File System Protocol
2 //!
3 //! Provides the `open_volume` function returning a file protocol representing the root directory
4 //! of a filesystem.
5
6 pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
7 0x964e5b22,
8 0x6459,
9 0x11d2,
10 0x8e,
11 0x39,
12 &[0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b],
13 );
14
15 pub const REVISION: u64 = 0x0000000000010000u64;
16
17 pub type ProtocolOpenVolume = eficall! {fn(
18 *mut Protocol,
19 *mut *mut crate::protocols::file::Protocol,
20 ) -> crate::base::Status};
21
22 #[repr(C)]
23 pub struct Protocol {
24 pub revision: u64,
25 pub open_volume: ProtocolOpenVolume,
26 }