apb: move the two secondary PCI bridges objects into APBState
commit4272ad40189c73324da59047f5232ec795111c4b
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 21 Dec 2017 07:32:57 +0000 (21 07:32 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:31:31 +0000 (9 21:31 +0000)
tree13ec49b499502b2a11c1316933489ef2d7d32670
parent2a4d6af51b8330bfd7a7dd677927b8dd2f5f5f08
apb: move the two secondary PCI bridges objects into APBState

This enables us to remove these parameters from pci_apb_init().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/pci-host/apb.c
hw/sparc64/sun4u.c
include/hw/pci-host/apb.h