class EfiDevicePathNode
Defined at line 15 of file ../../src/firmware/gigaboot/cpp/device_path.h
A helper class for efi_device_path_protocol path node related operations.
Public Methods
void EfiDevicePathNode (const efi_device_path_protocol * node)
Defined at line 11 of file ../../src/firmware/gigaboot/cpp/device_path.cc
std::optional<EfiDevicePathNode> Next ()
Get the next path node. Return std::nullopt if current node is a device path end node. Thus
it doesn't support multi-instance device path.
TODO(b/): Add support for multi-instance device path.
Defined at line 15 of file ../../src/firmware/gigaboot/cpp/device_path.cc
uint8_t type ()
Defined at line 19 of file ../../src/firmware/gigaboot/cpp/device_path.h
size_t length ()
Defined at line 20 of file ../../src/firmware/gigaboot/cpp/device_path.h
bool operator== (const EfiDevicePathNode & rhs)
Defined at line 26 of file ../../src/firmware/gigaboot/cpp/device_path.cc
bool StartsWith (const efi_device_path_protocol * path, const efi_device_path_protocol * prefix)
Check if the device path starts with another device path.
Defined at line 30 of file ../../src/firmware/gigaboot/cpp/device_path.cc