grackle: general tidy-up and QOMify
commitb0318ec10b2a97cac0cdce50a693a11f882c8549
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 6 Mar 2018 22:01:55 +0000 (6 22:01 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (27 18:05 +1000)
tree6b41d2c5dc8bff6e81ba83fcd07230ddeb636c8e
parenta5ed75fe2e6625b2ab9ed0694d7a5c95a74b84f7
grackle: general tidy-up and QOMify

This is the first step towards removing the old-style pci_grackle_init()
function. Following on from the previous commit we can now pass the heathrow
device as an object link and wire up the heathrow IRQs via qdev GPIOs.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/grackle.c
hw/ppc/mac.h
hw/ppc/mac_oldworld.c