82 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.
userptr_t phys_to_user(unsigned long phys_addr)
Convert physical address to user pointer.
SMBIOS entry point descriptor.
int find_smbios(struct smbios *smbios)
Access to external ("user") memory.
uint16_t version
SMBIOS version.
#define ENOTSUP
Operation not supported.
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.
int find_smbios_entry(userptr_t start, size_t len, struct smbios_entry *entry)
Scan for SMBIOS 32-bit entry point structure.
SMBIOS 32-bit entry point.
uint32_t smbios_address
Structure table address.
#define SMBIOS_VERSION(major, minor)
Calculate SMBIOS version.
uint16_t smbios_count
Number of SMBIOS structures.
uint8_t minor
Minor version.
int find_smbios3_entry(userptr_t start, size_t len, struct smbios3_entry *entry)
Scan for SMBIOS 64-bit entry point structure.
uint8_t minor
Minor version.
static int bios_find_smbios(struct smbios *smbios)
Find SMBIOS.
userptr_t address
Start of SMBIOS structures.
uint32_t smbios_len
Structure table length.
uint64_t smbios_address
Structure table address.
static int bios_find_smbios3(struct smbios *smbios)
Find SMBIOS.
static __always_inline userptr_t real_to_user(unsigned int segment, unsigned int offset)
Convert segment:offset address to user buffer.
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.