80 DBG (
"SMBIOS3 at %08llx is inaccessible\n",
struct arbelprm_rc_send_wqe rc
unsigned int count
Number of SMBIOS structures.
size_t len
Length of SMBIOS structures.
#define ENOENT
No such file or directory.
SMBIOS entry point descriptor.
int find_smbios(struct smbios *smbios)
uint16_t version
SMBIOS version.
#define ENOTSUP
Operation not supported.
static __always_inline void * real_to_virt(unsigned int segment, unsigned int offset)
Convert segment:offset address to virtual address.
static int bios_find_smbios2(struct smbios *smbios)
Find SMBIOS.
PROVIDE_SMBIOS(pcbios, find_smbios, bios_find_smbios)
uint16_t smbios_len
Structure table length.
Access to external ("user") memory.
SMBIOS 32-bit entry point.
uint32_t smbios_address
Structure table address.
#define SMBIOS_VERSION(major, minor)
Calculate SMBIOS version.
const void * address
Start of SMBIOS structures.
uint16_t smbios_count
Number of SMBIOS structures.
const struct smbios_entry * find_smbios_entry(const void *start, size_t len)
Scan for SMBIOS 32-bit entry point structure.
uint8_t minor
Minor version.
uint8_t minor
Minor version.
static int bios_find_smbios(struct smbios *smbios)
Find SMBIOS.
uint32_t smbios_len
Structure table length.
uint64_t smbios_address
Structure table address.
static int bios_find_smbios3(struct smbios *smbios)
Find SMBIOS.
const struct smbios3_entry * find_smbios3_entry(const void *start, size_t len)
Scan for SMBIOS 64-bit entry point structure.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define DBG(...)
Print a debugging message.
uint8_t major
Major version.
uint8_t major
Major version.
SMBIOS 64-bit entry point.