apb: split simba PCI bridge into hw/pci-bridge/simba.c
commitffd9589ee2c5e8020da1d4249fee107d97923c8b
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 21 Jan 2018 08:59:45 +0000 (21 08:59 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 24 Jan 2018 19:19:50 +0000 (24 19:19 +0000)
tree22b3e6be7f6347975b8a71ea591bfc6ee31ab61f
parent05b9ec96c1ae87fa2a61b2dcd62ee1263255c9e5
apb: split simba PCI bridge into hw/pci-bridge/simba.c

Move the QOM type and macros into a new include/hw/pci-bridge/simba.h
file, and add a new CONFIG_SIMBA Makefile.objs variable which is enabled
for sparc64-softmmu builds only.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
CC: Michael S. Tsirkin <mst@redhat.com>
CC: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>
default-configs/sparc64-softmmu.mak
hw/pci-bridge/Makefile.objs
hw/pci-bridge/simba.c [new file with mode: 0644]
hw/pci-host/apb.c
include/hw/pci-bridge/simba.h [new file with mode: 0644]
include/hw/pci-host/apb.h