Expand description

DevicePath protocol

Device Paths are a packed array of Device Path Nodes. Each Node immediately follows the previous one, and each node may appear on any byte boundary. The array must be terminated with an End of Hardware Device Path Node.

Device Path Nodes are variable-length structures that can represent different types of paths. For example, a File Path Media Device Path contains a typical Windows-style path such as “\efi\boot\bootx64.efi”, whereas an ACPI Device Path contains numeric ACPI IDs.

A Device Path Node always starts with the DevicePath header. The device_type and sub_type fields determine the type of data in the rest of the structure, and the length field indicates the total size of the Node including the header.

Structs

ACPI Device Path

Device path protocol.

Header that appears at the start of every DevicePath node.

Iterator over DevicePath nodes.

Sub-type identifier for a DevicePath

Type identifier for a DevicePath