feat(bls): add version comparison to ensure entries are always sorted properly

This commit is contained in:
2025-11-01 21:34:55 -04:00
parent 03d0e40141
commit f6441b5694
3 changed files with 195 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ pub mod media_loader;
/// Support code for EFI variables.
pub mod variables;
/// Implements a version comparison algorithm according to the BLS specification.
pub mod vercmp;
/// Parses the input `path` as a [DevicePath].
/// Uses the [DevicePathFromText] protocol exclusively, and will fail if it cannot acquire the protocol.
pub fn text_to_device_path(path: &str) -> Result<PoolDevicePath> {