smbios: remove dependency on x86 e820 tables
commit89cc4a2760be800b5924dd705b1369bc29783c9f
authorWei Huang <wei@redhat.com>
Wed, 12 Aug 2015 02:08:19 +0000 (11 22:08 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 13 Aug 2015 11:08:30 +0000 (13 14:08 +0300)
treeb17939167d7c519fd891942366e6dc36dd136328
parent5fd0a9d410dc876ce134359c489d1d639ea32889
smbios: remove dependency on x86 e820 tables

Current smbios builds type 19 table from e820, which is x86 specific.
This patch removes smbios' dependency on e820 by passing an array
of memory area to smbios_get_tables().

Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Wei Huang <wei@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/smbios.c
include/hw/i386/smbios.h