]> xenbits.xensource.com Git - qemu-xen.git/commit
heathrow: change heathrow_pic_init() to return the heathrow device
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Feb 2018 20:32:36 +0000 (20:32 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 6 Mar 2018 02:16:29 +0000 (13:16 +1100)
commitc29646009a6a5428cf13600281f7d51eba9e8458
tree3e31f1b65905e5959638b03a4d4e31ffbf166e73
parentec7c2709d7f2ac04070ae7f10146f9ab733092c4
heathrow: change heathrow_pic_init() to return the heathrow device

This enables the device to be made available during the setup of the Old World
machine. In order to pass back the previous set of IRQs we temporarily introduce
a new pic_irqs parameter until it can be removed.

An additional benefit of this change is that it is also possible to remove the
pic_mem pointer used for macio by accessing the memory region via sysbus.

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