]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_iommu.c
spapr: convert TCE API to use an opaque type
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Apr 2013 15:30:48 +0000 (17:30 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2013 14:32:47 +0000 (16:32 +0200)
commit2b7dc949e241ac2b069d2d6183c1346cad792662
tree036435406f192d463a234f7df11678dc61bec7c4
parent06d985f5d844d07d31b4dada20f4ff6cf0d6ff4a
spapr: convert TCE API to use an opaque type

The TCE table is currently returned as a DMAContext, and non-type-safe
APIs are called later passing back the DMAContext.  Since we want to move
away from DMAContext, use an opaque type instead, and add an accessor
to retrieve the DMAContext from it.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
include/hw/pci-host/spapr.h
include/hw/ppc/spapr.h
include/hw/ppc/spapr_vio.h