diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-15 19:56:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-04 14:52:10 +0300 |
commit | 01c9742d9d5a48c55a0155875657944c2159762c (patch) | |
tree | 91bcffa48078f7173510f32b9f78faca89a945cf /roms | |
parent | 97a83ec3a9d83f2e86b8b93178d8e8b64ccc7486 (diff) | |
download | qemu-01c9742d9d5a48c55a0155875657944c2159762c.zip qemu-01c9742d9d5a48c55a0155875657944c2159762c.tar.gz qemu-01c9742d9d5a48c55a0155875657944c2159762c.tar.bz2 |
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>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions