r_efi/protocols/driver_family_override.rs
1//! Driver Family Override Protocol
2//!
3//! When installed, the Driver Family Override Protocol informs the UEFI Boot
4//! Service `ConnectController()` that this driver is higher priority than the
5//! list of drivers returned by the Bus Specific Driver Override Protocol.
6
7pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
8 0xb1ee129e,
9 0xda36,
10 0x4181,
11 0x91,
12 0xf8,
13 &[0x04, 0xa4, 0x92, 0x37, 0x66, 0xa7],
14);
15
16pub type ProtocolGetVersion = eficall! {fn(
17 *mut Protocol,
18) -> u32};
19
20#[repr(C)]
21pub struct Protocol {
22 pub get_version: ProtocolGetVersion,
23}