diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-06-01 18:57:39 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-06-07 10:17:45 +1000 |
commit | b3162f22cb3cbca73d4c90b936dbadff6954e2f6 (patch) | |
tree | f3847fa10def627d8939effda29621cdc7414ba4 /include/hw | |
parent | acf1b6dd22ef8ccd5431e933706f12ce643f6cf0 (diff) | |
download | qemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.zip qemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.tar.gz qemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.tar.bz2 |
spapr_pci: Add and export DMA resetting helper
This will be later used by the "ibm,reset-pe-dma-window" RTAS handler
which resets the DMA configuration to the defaults.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/pci-host/spapr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h index 03ee006..7848366 100644 --- a/include/hw/pci-host/spapr.h +++ b/include/hw/pci-host/spapr.h @@ -147,4 +147,6 @@ static inline void spapr_phb_vfio_reset(DeviceState *qdev) } #endif +void spapr_phb_dma_reset(sPAPRPHBState *sphb); + #endif /* __HW_SPAPR_PCI_H__ */ |