aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-i440fx/fw_cfg.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-08-27 11:25:13 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-03-10 10:44:46 +0100
commitdb9d169ddb1cda58d1d42f20c2d6c1b99e0200ed (patch)
tree756824f951dabe6dd654c0d204bc6035d579ddbd /src/mainboard/emulation/qemu-i440fx/fw_cfg.h
parentf14bd79ae161e65a0f6bb675452323ecd905a27e (diff)
qemu: 2.1+ smbios tables support
Starting with version 2.1 qemu provides a full set of smbios tables for the virtual hardware emulated, except type 0 (bios information). This patch adds support for loading those tables to coreboot. The code is used by both i440fx and q35. Change-Id: Id034f0c214e8890194145a92f06354201dee7963 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-on: http://review.coreboot.org/8608 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx/fw_cfg.h')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h
index 2a10d8bce9..51ecaa8acd 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h
@@ -19,3 +19,4 @@ void fw_cfg_get(int entry, void *dst, int dstlen);
int fw_cfg_check_file(const char *name);
void fw_cfg_load_file(const char *name, void *dst);
int fw_cfg_max_cpus(void);
+unsigned long fw_cfg_smbios_tables(int *handle, unsigned long *current);