aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorGabriel L. Somlo <gsomlo@gmail.com>2014-04-23 15:04:49 -0400
committerGerd Hoffmann <kraxel@redhat.com>2014-05-06 15:49:07 +0200
commitd85c22e44ee4e24f2be19d579ea8fa0066a85fbb (patch)
tree60f5085c21091977738357876eeb821f1c48038f /src/util.h
parent0784d04cb6f6e5c893aaf368091f20326fb847fe (diff)
downloadseabios-d85c22e44ee4e24f2be19d579ea8fa0066a85fbb.tar.gz
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>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 4f242bfb..9557581b 100644
--- a/src/util.h
+++ b/src/util.h
@@ -78,6 +78,7 @@ extern struct smbios_entry_point *SMBiosAddr;
void copy_smbios(void *pos);
void display_uuid(void);
void copy_table(void *pos);
+void smbios_setup(void);
// fw/coreboot.c
extern const char *CBvendor, *CBpart;
@@ -117,7 +118,7 @@ void make_bios_readonly(void);
void qemu_prep_reset(void);
// fw/smbios.c
-void smbios_setup(void);
+void smbios_legacy_setup(void);
// fw/smm.c
void smm_device_setup(void);