mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
ppc/pnv: Add a "pnor" const link property to the BMC internal simulator
This allows to get rid of a call to qdev_get_machine(). Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20200106145645.4539-8-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
764f9b2559
commit
d8137bb729
3 changed files with 7 additions and 5 deletions
|
@ -229,7 +229,7 @@ PnvChip *pnv_get_chip(uint32_t chip_id);
|
|||
*/
|
||||
void pnv_dt_bmc_sensors(IPMIBmc *bmc, void *fdt);
|
||||
void pnv_bmc_powerdown(IPMIBmc *bmc);
|
||||
IPMIBmc *pnv_bmc_create(void);
|
||||
IPMIBmc *pnv_bmc_create(PnvPnor *pnor);
|
||||
|
||||
/*
|
||||
* POWER8 MMIO base addresses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue