aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-05-21 14:28:35 +0800
committerMichael S. Tsirkin <mst@redhat.com>2019-05-29 18:00:57 -0400
commitf13a944ca6d50efa1dc4cca3a31262b677a2a715 (patch)
tree664874c72a1e8f6205ae037d21bce55eb986b928 /include/hw
parent8c1ecb590497b0349c550607db923972b37f6963 (diff)
downloadqemu-f13a944ca6d50efa1dc4cca3a31262b677a2a715.zip
qemu-f13a944ca6d50efa1dc4cca3a31262b677a2a715.tar.gz
qemu-f13a944ca6d50efa1dc4cca3a31262b677a2a715.tar.bz2
hw/acpi: Consolidate build_mcfg to pci.c
Now we have two identical build_mcfg functions. Consolidate them in acpi/pci.c. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> v4: * ACPI_PCI depends on both ACPI and PCI * rebase on latest master, adjust arm Kconfig v3: * adjust changelog based on Igor's suggestion Message-Id: <20190521062836.6541-2-richardw.yang@linux.intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/acpi/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/pci.h b/include/hw/acpi/pci.h
index 124af7d..8bbd32c 100644
--- a/include/hw/acpi/pci.h
+++ b/include/hw/acpi/pci.h
@@ -30,4 +30,5 @@ typedef struct AcpiMcfgInfo {
uint32_t size;
} AcpiMcfgInfo;
+void build_mcfg(GArray *table_data, BIOSLinker *linker, AcpiMcfgInfo *info);
#endif