]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/virt-acpi-build: pass AcpiMcfgInfo to build_mcfg()
authorWei Yang <richardw.yang@linux.intel.com>
Fri, 19 Apr 2019 00:30:51 +0000 (08:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commit48cefd94c748cf8d5bb3ffda53bdc8e503882a3f
tree107cf8540fb82f4204a1cef9436c5a4676c93317
parentc309434ee97ff2ce46c97b0452bb0f83bfd4432b
hw/arm/virt-acpi-build: pass AcpiMcfgInfo to build_mcfg()

To build MCFG, two information is necessary:

    * bus number
    * base address

Abstract these two information to AcpiMcfgInfo so that build_mcfg and
build_mcfg_q35 will have the same declaration.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20190419003053.8260-5-richardw.yang@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt-acpi-build.c
hw/i386/acpi-build.c
include/hw/acpi/pci.h [new file with mode: 0644]