Skip to main content

Crate patina_internal_device_path

Crate patina_internal_device_path 

Source
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§

DevicePathNode
Device Path Node
DevicePathWalker
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 a and b
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.