]> xenbits.xensource.com Git - seabios.git/commit
SMBIOS: Check for aggregate tables & entry point in fw_cfg
authorGabriel L. Somlo <gsomlo@gmail.com>
Wed, 23 Apr 2014 19:04:49 +0000 (15:04 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 6 May 2014 13:49:07 +0000 (15:49 +0200)
commitd85c22e44ee4e24f2be19d579ea8fa0066a85fbb
tree60f5085c21091977738357876eeb821f1c48038f
parent0784d04cb6f6e5c893aaf368091f20326fb847fe
SMBIOS: Check for aggregate tables & entry point in fw_cfg

Check fw_cfg for the presence of an aggregate set of smbios
tables (etc/smbios/smbios-tables) and an entry point structure
(etc/smbios/smbios-anchor), and, if found, use them instead of
generating entries locally.

We ensure the presence of a type 0 (bios information) structure
by generating it locally if necessary, which is expected to be
the common case.

Signed-off-by: Gabriel L. Somlo <somlo@cmu.edu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/fw/biostables.c
src/fw/smbios.c
src/util.h