qemu/hw/pci-host
Markus Armbruster 01c9742d9d pc: Eliminate PcPciInfo
PcPciInfo has two (ill-named) members: Range w32 is the PCI hole, and
w64 is the PCI64 hole.

Three users:

* I440FXState and MCHPCIState have a member PcPciInfo pci_info, but
  only pci_info.w32 is actually used.  This is confusing.  Replace by
  Range pci_hole.

* acpi_build() uses auto PcPciInfo pci_info to forward both PCI holes
  from acpi_get_pci_info() to build_dsdt().  Replace by two variables
  Range pci_hole, pci_hole64.  Rename acpi_get_pci_info() to
  acpi_get_pci_holes().

PcPciInfo is now unused; drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
2016-07-04 14:52:10 +03:00
..
apb.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
bonito.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
gpex.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
grackle.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
Makefile.objs pci: Add generic PCIe host bridge 2015-02-13 05:46:07 +00:00
pam.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
piix.c pc: Eliminate PcPciInfo 2016-07-04 14:52:10 +03:00
ppce500.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
prep.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
q35.c pc: Eliminate PcPciInfo 2016-07-04 14:52:10 +03:00
uninorth.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
versatile.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00