diff options
| author | Cédric Le Goater | 2018-06-15 17:25:33 +0200 |
|---|---|---|
| committer | David Gibson | 2018-06-21 13:22:53 +0200 |
| commit | d35aefa9ae150a8a5943ca3d9102020a5382de0b (patch) | |
| tree | e6f7525c733e98ca5c6ff39efbf9d2c420929df2 /include | |
| parent | Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20180619' into staging (diff) | |
| download | qemu-d35aefa9ae150a8a5943ca3d9102020a5382de0b.tar.gz qemu-d35aefa9ae150a8a5943ca3d9102020a5382de0b.tar.xz qemu-d35aefa9ae150a8a5943ca3d9102020a5382de0b.zip | |
ppc/pnv: introduce a new intc_create() operation to the chip model
On Power9, the thread interrupt presenter has a different type and is
linked to the chip owning the cores.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/ppc/pnv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h index 90759240a7..e934e84f55 100644 --- a/include/hw/ppc/pnv.h +++ b/include/hw/ppc/pnv.h @@ -76,6 +76,7 @@ typedef struct PnvChipClass { hwaddr xscom_base; uint32_t (*core_pir)(PnvChip *chip, uint32_t core_id); + Object *(*intc_create)(PnvChip *chip, Object *child, Error **errp); } PnvChipClass; #define PNV_CHIP_TYPE_SUFFIX "-" TYPE_PNV_CHIP |
