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

Function fv_node

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

`MEDIA_DEVICE_PATH / Firmware Volume` node (`type=4, subtype=7`).

(guid_le: &[u8; 16])

Source from the content-addressed store, hash-verified

49
50/// `MEDIA_DEVICE_PATH / Firmware Volume` node (`type=4, subtype=7`).
51pub fn fv_node(guid_le: &[u8; 16]) -> DevicePathNode<'_> {
52 DevicePathNode {
53 r#type: 0x04,
54 subtype: 0x07,
55 data: guid_le,
56 }
57}
58
59/// `MEDIA_DEVICE_PATH / Firmware File` node (`type=4, subtype=6`).
60pub fn fv_file_node(guid_le: &[u8; 16]) -> DevicePathNode<'_> {

Callers 1

rtmr0_logMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected