diff options
author | Greg Kurz | 2018-12-21 01:35:09 +0100 |
---|---|---|
committer | David Gibson | 2019-01-08 23:28:14 +0100 |
commit | 999c9caf2eee66103195e1ec7580b379929db9d2 (patch) | |
tree | a982bb735e31d8ca82353d0a42b1dd5b65a85cdc /include/hw/pci-host | |
parent | MAINTAINERS: add qemu_vga.ndrv file entry for Mac machines (diff) | |
download | qemu-999c9caf2eee66103195e1ec7580b379929db9d2.tar.gz qemu-999c9caf2eee66103195e1ec7580b379929db9d2.tar.xz qemu-999c9caf2eee66103195e1ec7580b379929db9d2.zip |
spapr: move spapr_create_phb() to core machine code
This function is only used when creating the default PHB. Let's rename
it and move it to the core machine code for clarity.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/pci-host')
-rw-r--r-- | include/hw/pci-host/spapr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h index 7c66c3872f..a65cfef169 100644 --- a/include/hw/pci-host/spapr.h +++ b/include/hw/pci-host/spapr.h @@ -111,8 +111,6 @@ static inline qemu_irq spapr_phb_lsi_qirq(struct sPAPRPHBState *phb, int pin) return spapr_qirq(spapr, phb->lsi_table[pin].irq); } -PCIHostState *spapr_create_phb(sPAPRMachineState *spapr, int index); - int spapr_populate_pci_dt(sPAPRPHBState *phb, uint32_t xics_phandle, void *fdt, uint32_t nr_msis); |