mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
acf1b6dd22
commit
b3162f22cb
2 changed files with 10 additions and 2 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue