diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-06-24 05:49:13 -0300 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-08-31 14:08:05 -0300 |
| commit | fe5bfd4bb816faa1b3fa8c3c23165cdbadfa5c91 (patch) | |
| tree | ed71138ec12b8e3c4c005cbde1400258c7a64ca1 /include/hw/pci-host/pnv_phb4.h | |
| parent | 1f5d6b2ad14df9daad17e81d9e247bd1fd2fd5fc (diff) | |
| download | focaccia-qemu-fe5bfd4bb816faa1b3fa8c3c23165cdbadfa5c91.tar.gz focaccia-qemu-fe5bfd4bb816faa1b3fa8c3c23165cdbadfa5c91.zip | |
ppc/pnv: add PHB4 bus init helper
Similar to what we already did for the PnvPHB3 device, let's add a helper to init the bus when using a PnvPHB4. This helper will be used by PnvPHb when PnvPHB4 turns into a backend. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Message-Id: <20220624084921.399219-5-danielhb413@gmail.com>
Diffstat (limited to 'include/hw/pci-host/pnv_phb4.h')
| -rw-r--r-- | include/hw/pci-host/pnv_phb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h index 19dcbd6f87..90843ac3a9 100644 --- a/include/hw/pci-host/pnv_phb4.h +++ b/include/hw/pci-host/pnv_phb4.h @@ -157,6 +157,7 @@ struct PnvPHB4 { void pnv_phb4_pic_print_info(PnvPHB4 *phb, Monitor *mon); int pnv_phb4_pec_get_phb_id(PnvPhb4PecState *pec, int stack_index); +void pnv_phb4_bus_init(DeviceState *dev, PnvPHB4 *phb); extern const MemoryRegionOps pnv_phb4_xscom_ops; /* |