MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / fv_file_node

Function fv_file_node

dstack-mr/src/uefi_var.rs:60–66  ·  view source on GitHub ↗

`MEDIA_DEVICE_PATH / Firmware File` node (`type=4, subtype=6`).

(guid_le: &[u8; 16])

Source from the content-addressed store, hash-verified

58
59/// `MEDIA_DEVICE_PATH / Firmware File` node (`type=4, subtype=6`).
60pub 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,

Callers 2

rtmr0_logMethod · 0.85

Calls

no outgoing calls

Tested by 1