Struct uefi_raw::protocol::device_path::DevicePathProtocol
source · #[repr(C)]pub struct DevicePathProtocol {
pub major_type: u8,
pub sub_type: u8,
pub length: [u8; 2],
}
Expand description
Device path protocol.
A device path contains one or more device path instances made of up variable-length nodes.
Note that the fields in this struct define the header at the start of each node; a device path is typically larger than these four bytes.
Fields§
§major_type: u8
§sub_type: u8
§length: [u8; 2]