diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-11 12:35:33 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-20 16:32:47 +0200 |
commit | a84bb436696159d460d03db809c27a854cee0863 (patch) | |
tree | b651e05008e7e5261555046ebd4a5be6e53a4005 /include/hw | |
parent | a71bfbfe9d0bb74912170435d687f3c5de86a9f6 (diff) | |
download | qemu-a84bb436696159d460d03db809c27a854cee0863.tar.gz qemu-a84bb436696159d460d03db809c27a854cee0863.tar.bz2 qemu-a84bb436696159d460d03db809c27a854cee0863.zip |
spapr: use memory core for iommu support
Now we can stop using a "translating" DMAContext, but we do not yet modify
the sPAPRTCETable users to get an AddressSpace; they keep using the table
via a DMAContext.
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index e8d617b417..142abb70f8 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -349,6 +349,7 @@ void spapr_events_init(sPAPREnvironment *spapr); void spapr_events_fdt_skel(void *fdt, uint32_t epow_irq); sPAPRTCETable *spapr_tce_new_table(uint32_t liobn, size_t window_size); DMAContext *spapr_tce_get_dma(sPAPRTCETable *tcet); +MemoryRegion *spapr_tce_get_iommu(sPAPRTCETable *tcet); void spapr_tce_free(sPAPRTCETable *tcet); void spapr_tce_reset(sPAPRTCETable *tcet); void spapr_tce_set_bypass(sPAPRTCETable *tcet, bool bypass); |