dma: eliminate DMAContext
The DMAContext is a simple pointer to an AddressSpace that is now always already available. Make everyone hold the address space directly, and clean up the DMA API to use the AddressSpace directly. Reviewed-by:Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- dma-helpers.c 7 additions, 17 deletionsdma-helpers.c
- exec.c 0 additions, 3 deletionsexec.c
- hw/block/nvme.c 1 addition, 1 deletionhw/block/nvme.c
- hw/dma/pl330.c 4 additions, 4 deletionshw/dma/pl330.c
- hw/ide/ahci.c 9 additions, 9 deletionshw/ide/ahci.c
- hw/ide/ahci.h 2 additions, 2 deletionshw/ide/ahci.h
- hw/ide/ich.c 1 addition, 1 deletionhw/ide/ich.c
- hw/ide/macio.c 2 additions, 2 deletionshw/ide/macio.c
- hw/pci/pci.c 0 additions, 4 deletionshw/pci/pci.c
- hw/ppc/spapr_vio.c 0 additions, 1 deletionhw/ppc/spapr_vio.c
- hw/scsi/megasas.c 2 additions, 2 deletionshw/scsi/megasas.c
- hw/scsi/virtio-scsi.c 1 addition, 1 deletionhw/scsi/virtio-scsi.c
- hw/scsi/vmw_pvscsi.c 1 addition, 1 deletionhw/scsi/vmw_pvscsi.c
- hw/sd/sdhci.c 11 additions, 11 deletionshw/sd/sdhci.c
- hw/usb/hcd-ehci-pci.c 2 additions, 2 deletionshw/usb/hcd-ehci-pci.c
- hw/usb/hcd-ehci-sysbus.c 1 addition, 1 deletionhw/usb/hcd-ehci-sysbus.c
- hw/usb/hcd-ehci.c 6 additions, 6 deletionshw/usb/hcd-ehci.c
- hw/usb/hcd-ehci.h 1 addition, 1 deletionhw/usb/hcd-ehci.h
- hw/usb/hcd-ohci.c 15 additions, 15 deletionshw/usb/hcd-ohci.c
- hw/usb/libhw.c 2 additions, 2 deletionshw/usb/libhw.c
Loading
Please register or sign in to comment