]> xenbits.xensource.com Git - seabios.git/commit
smbios: copy_smbios_30() function
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Dec 2020 15:32:44 +0000 (10:32 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 18 Dec 2021 16:39:13 +0000 (11:39 -0500)
commiteafea937e4c03a471ada20d88d39e7aa69a57530
tree5310ab320126516599a41600b4c1643af4777ddb
parentddd0f7b877695bc15a88f5f0077868329518d7bf
smbios: copy_smbios_30() function

Add new copy_smbios_30() function, that will be used to support
SMBIOS 3.0 entry points.

The SMBIOS 3.0 entry point will be tracked in a separate
SMBios30Addr variable, because both 2.1 and 3.0 entry points may
exist at the same time.

Adjust the smbios_get_tables(), smbios_major_version(), and
smbios_minor_version() helpers to use the SMBIOS 3.0 entry point
if available.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
src/fw/biostables.c
src/std/smbios.h