Expand description
UEFI Device Path Utilities
This library provides various utilities for interacting with UEFI device paths.
§License
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: Apache-2.0
Structs§
- Device
Path Node - Device Path Node
- Device
Path Walker - Iterator that returns DevicePathNodes for a given raw device path pointer.
Functions§
- concat_
device_ path_ to_ boxed_ slice - Produces a new byte vector that is the concatenation of
aandb - copy_
device_ path_ to_ boxed_ slice - Copies the device path from the given pointer into a Boxed u8 slice.
- device_
path_ as_ slice - Returns the device_path as a byte slice.
- device_
path_ node_ count - Returns the count of nodes and size (in bytes) of the given device path.
- is_
device_ ⚠path_ end - Determines whether the given device path points to an end-of-device-path node.
- remaining_
device_ ⚠path - Computes the remaining device path and the number of nodes in common for two device paths.