Skip to main content

Crate firmware_uefi_resources

Crate firmware_uefi_resources 

Source
Expand description

Resource definitions for the Hyper-V UEFI helper device (firmware_uefi).

This crate exists so that crates which need to construct a UEFI device handle (e.g., vm_manifest_builder) or register platform-specific resolvers (e.g., openvmm_core, underhill_core) do not need to take a dependency on the full firmware_uefi device implementation.

Modules§

aarch64_secure_boot_templates
platform
A centralized place to expose various service-specific interface traits that must be implemented by the “platform” hosting the UEFI device.
x64_secure_boot_templates

Structs§

BaseTemplate
A complete base template deferred as raw JSON.
HclCompatNvramQuirks
“Quirks” to take into account when loading/storing nvram blob data.
LogLevel
Log level configuration - encapsulates a u32 mask where u32::MAX means “log everything”.
ResolvedUefiLogger
Resolved UEFI logger.
ResolvedUefiVsmConfig
Resolved VSM configuration callbacks.
ResolvedUefiWatchdogPlatform
Resolved UEFI watchdog platform, including the receiver used by the device to wake up on watchdog timeout notifications.
UefiConfig
Static configuration for the UEFI device.
UefiDeviceHandle
A handle to the Hyper-V UEFI helper chipset device.
UefiVarsDeltaJson
A customer-provided UEFI variable delta deferred as raw JSON.

Enums§

UefiCommandSet
The UEFI command set understood by the device.
UefiLoggerHandleKind
Resource kind for the platform-provided UEFI logger.
UefiVsmConfigHandleKind
Resource kind for the platform VSM configuration callbacks.
UefiWatchdogPlatformHandleKind
Resource kind for the UEFI watchdog platform implementation.

Functions§

debug_level_to_string
Converts a debug level mask to a human-readable string.