Skip to main content

Module smbios

Module smbios 

Source
Expand description

Arch-neutral SMBIOS 3.x (DMI) table builder.

In firmware-less Linux direct boot there is no UEFI/PCAT firmware to synthesize SMBIOS tables, so the loader must build them itself. This module builds a SMBIOS 3.1 entry point (_SM3_) and a minimal structure table (Type 0 BIOS, Type 1 System, Type 127 End-of-table). The caller decides where the structure table lives in guest memory and how the entry point is delivered to the guest (x86 F-segment scan vs. aarch64 EFI configuration table).

Structs§

BuiltSmbios
The built SMBIOS blobs, ready to be placed in guest memory.
SmbiosBiosInfo
BIOS Information (SMBIOS Type 0).
SmbiosSystemInfo
System Information (SMBIOS Type 1).
SmbiosTables
Aggregate of the SMBIOS structures to build. The caller supplies all of the identity strings and the system UUID.

Constants§

ENTRY_POINT_SIZE
Size in bytes of the SMBIOS 3.1 entry point (_SM3_). Callers that place the entry point and structure table separately (e.g. the aarch64 EFI configuration-table path) use this to reserve space for the entry point before knowing the structure table’s address.

Functions§

build
Builds the SMBIOS entry point and structure table.