diff options
| author | Cédric Le Goater | 2019-01-02 06:57:43 +0100 |
|---|---|---|
| committer | David Gibson | 2019-01-08 23:28:14 +0100 |
| commit | 3a8eb78e6c135422017888380db091793039b6dd (patch) | |
| tree | 0e6011b3ec47674859cd12a6e77ae8a8387f70a8 /include/hw | |
| parent | spapr: introduce a new sPAPR IRQ backend supporting XIVE and XICS (diff) | |
| download | qemu-3a8eb78e6c135422017888380db091793039b6dd.tar.gz qemu-3a8eb78e6c135422017888380db091793039b6dd.tar.xz qemu-3a8eb78e6c135422017888380db091793039b6dd.zip | |
spapr: enable XIVE MMIOs at reset
Depending on the interrupt mode of the machine, enable or disable the
XIVE MMIOs.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/ppc/spapr_xive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_xive.h b/include/hw/ppc/spapr_xive.h index 9ee524fdb2..7fdc250574 100644 --- a/include/hw/ppc/spapr_xive.h +++ b/include/hw/ppc/spapr_xive.h @@ -47,5 +47,6 @@ void spapr_xive_hcall_init(sPAPRMachineState *spapr); void spapr_dt_xive(sPAPRMachineState *spapr, uint32_t nr_servers, void *fdt, uint32_t phandle); void spapr_xive_set_tctx_os_cam(XiveTCTX *tctx); +void spapr_xive_mmio_set_enabled(sPAPRXive *xive, bool enable); #endif /* PPC_SPAPR_XIVE_H */ |
