smbios: add smbios 3.0 support
commit86299120060f734a2f7c1137a46de0b8c78135b7
authorWei Huang <wei@redhat.com>
Mon, 7 Sep 2015 09:39:28 +0000 (7 10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:28 +0000 (7 10:39 +0100)
tree05219d7fd808878b8dbe9702d05f642e31ace097
parent8012c84ff92a36d05dfe61af9b24dd01a7ea25e4
smbios: add smbios 3.0 support

This patch adds support for SMBIOS 3.0 entry point. When caller invokes
smbios_set_defaults(), it can specify entry point as 2.1 or 3.0. Then
smbios_get_tables() will return the entry point table in right format.

Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Wei Huang <wei@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1440615870-9518-2-git-send-email-wei@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/smbios/smbios.c
include/hw/smbios/smbios.h
tests/bios-tables-test.c