mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
ppc/pnv: Introduce a "chip" property under PHB3
This change will help us move the mapping of XSCOM regions under the PHB3 realize routine, which will be necessary for user created PHB3 devices. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20211213132830.108372-3-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
1f26c75191
commit
2c4d3a501e
3 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "qom/object.h"
|
||||
|
||||
typedef struct PnvPHB3 PnvPHB3;
|
||||
typedef struct PnvChip PnvChip;
|
||||
|
||||
/*
|
||||
* PHB3 XICS Source for MSIs
|
||||
|
@ -157,6 +158,8 @@ struct PnvPHB3 {
|
|||
PnvPHB3RootPort root;
|
||||
|
||||
QLIST_HEAD(, PnvPhb3DMASpace) dma_spaces;
|
||||
|
||||
PnvChip *chip;
|
||||
};
|
||||
|
||||
uint64_t pnv_phb3_reg_read(void *opaque, hwaddr off, unsigned size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue