`MEDIA_DEVICE_PATH / Firmware File` node (`type=4, subtype=6`).
(guid_le: &[u8; 16])
| 58 | |
| 59 | /// `MEDIA_DEVICE_PATH / Firmware File` node (`type=4, subtype=6`). |
| 60 | pub fn fv_file_node(guid_le: &[u8; 16]) -> DevicePathNode<'_> { |
| 61 | DevicePathNode { |
| 62 | r#type: 0x04, |
| 63 | subtype: 0x06, |
| 64 | data: guid_le, |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | /// Build the raw bytes of a `Boot####` UEFI variable — the on-the-wire form of |
| 69 | /// `EFI_LOAD_OPTION { Attributes, FilePathListLength, Description, FilePathList, |
no outgoing calls