58 DBG (
"Found 64-bit SMBIOS v%d.%d entry point at %p (%lx+%zx)\n",
71 DBG (
"Found 32-bit SMBIOS v%d.%d entry point at %p (%lx+%zx)\n",
77 DBG (
"No SMBIOS table provided\n" );
GUIDs used to locate the SMBIOS tables in the UEFI 2.5 system table.
static int efi_find_smbios(struct smbios *smbios)
Find SMBIOS.
#define DBG(...)
Print a debugging message.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENODEV
No such device.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define EFI_USE_TABLE(_table, _ptr, _required)
Declare an EFI configuration table to be used by iPXE.
#define SMBIOS3_SIGNATURE
Signature for 64-bit SMBIOS entry point.
#define SMBIOS_SIGNATURE
Signature for 32-bit SMBIOS entry point.
int find_smbios(struct smbios *smbios)
#define PROVIDE_SMBIOS(_subsys, _api_func, _func)
Provide an SMBIOS API implementation.
#define SMBIOS_VERSION(major, minor)
Calculate SMBIOS version.
Access to external ("user") memory.
SMBIOS 64-bit entry point.
uint8_t major
Major version.
uint64_t smbios_address
Structure table address.
uint8_t minor
Minor version.
uint32_t signature
Signature.
uint32_t smbios_len
Structure table length.
SMBIOS 32-bit entry point.
uint32_t smbios_address
Structure table address.
uint8_t minor
Minor version.
uint32_t signature
Signature.
uint16_t smbios_count
Number of SMBIOS structures.
uint16_t smbios_len
Structure table length.
uint8_t major
Major version.
SMBIOS entry point descriptor.
size_t len
Length of SMBIOS structures.
unsigned int count
Number of SMBIOS structures.
uint16_t version
SMBIOS version.
const void * address
Start of SMBIOS structures.