mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
a71bfbfe9d
commit
a84bb43669
2 changed files with 28 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue