80 DBG (
"SMBIOS3 at %08llx is inaccessible\n",
struct arbelprm_rc_send_wqe rc
static int bios_find_smbios(struct smbios *smbios)
Find SMBIOS.
static int bios_find_smbios2(struct smbios *smbios)
Find SMBIOS.
static int bios_find_smbios3(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 ENOENT
No such file or directory.
#define ENOTSUP
Operation not supported.
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.
static __always_inline void * real_to_virt(unsigned int segment, unsigned int offset)
Convert segment:offset address to virtual address.
const struct smbios_entry * find_smbios_entry(const void *start, size_t len)
Scan for SMBIOS 32-bit entry point structure.
const struct smbios3_entry * find_smbios3_entry(const void *start, size_t len)
Scan for SMBIOS 64-bit entry point structure.
SMBIOS 64-bit entry point.
uint8_t major
Major version.
uint64_t smbios_address
Structure table address.
uint8_t minor
Minor version.
uint32_t smbios_len
Structure table length.
SMBIOS 32-bit entry point.
uint32_t smbios_address
Structure table address.
uint8_t minor
Minor version.
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.