Expand description
UEFI diagnostics service
This service handles processing of the EFI diagnostics buffer, producing friendly logs for any telemetry during the UEFI boot process.
The EFI diagnostics buffer follows the specification of Project Mu’s Advanced Logger package, whose relevant types are defined in the Hyper-V specification within the uefi_specs crate.
Structs§
- Diagnostics
Services - Definition of the diagnostics services state
- EfiDiagnostics
Log - Represents a processed log entry from the EFI diagnostics buffer
Enums§
- Diagnostics
Error - Errors that occur during processing
- Entry
Parse Error - Errors that occur when parsing entries
Constants§
- DEFAULT_
LOGS_ PER_ PERIOD - Default number of EfiDiagnosticsLogs emitted per period
- MAX_
LOG_ BUFFER_ SIZE - Maximum allowed size of the log buffer
- MAX_
MESSAGE_ LENGTH - Maximum allowed size of a single message
Functions§
- log_
diagnostic_ ratelimited - Rate-limited handler for EFI diagnostics logs during normal processing.
- log_
diagnostic_ unrestricted - Unrestricted handler for EFI diagnostics logs during inspection.