iPXE
|
System Management BIOS. More...
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <ipxe/uaccess.h>
#include <ipxe/smbios.h>
#include <realmode.h>
#include <pnpbios.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | bios_find_smbios2 (struct smbios *smbios) |
Find SMBIOS. More... | |
static int | bios_find_smbios3 (struct smbios *smbios) |
Find SMBIOS. More... | |
static int | bios_find_smbios (struct smbios *smbios) |
Find SMBIOS. More... | |
PROVIDE_SMBIOS (pcbios, find_smbios, bios_find_smbios) | |
System Management BIOS.
Definition in file bios_smbios.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Find SMBIOS.
smbios | SMBIOS entry point descriptor structure to fill in |
rc | Return status code |
Definition at line 47 of file bios_smbios.c.
References smbios::address, BIOS_SEG, smbios::count, find_smbios_entry(), smbios::len, smbios_entry::major, smbios_entry::minor, phys_to_user(), rc, real_to_user(), smbios_entry::smbios_address, smbios_entry::smbios_count, smbios_entry::smbios_len, SMBIOS_VERSION, and smbios::version.
Referenced by bios_find_smbios().
|
static |
Find SMBIOS.
smbios | SMBIOS entry point descriptor structure to fill in |
rc | Return status code |
Definition at line 71 of file bios_smbios.c.
References smbios::address, BIOS_SEG, smbios::count, DBG, ENOTSUP, find_smbios3_entry(), smbios::len, smbios3_entry::major, smbios3_entry::minor, phys_to_user(), rc, real_to_user(), smbios3_entry::smbios_address, smbios3_entry::smbios_len, SMBIOS_VERSION, and smbios::version.
Referenced by bios_find_smbios().
|
static |
Find SMBIOS.
smbios | SMBIOS entry point descriptor structure to fill in |
rc | Return status code |
Definition at line 102 of file bios_smbios.c.
References bios_find_smbios2(), bios_find_smbios3(), and rc.
PROVIDE_SMBIOS | ( | pcbios | , |
find_smbios | , | ||
bios_find_smbios | |||
) |