]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/ppc/spapr.h
spapr_iommu: Introduce bus_offset in sPAPRTCETable
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 27 May 2014 05:36:37 +0000 (15:36 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:39 +0000 (13:24 +0200)
commit1b8eceee280d3fab11812271f4956f7b69287ef0
tree4bbffe4a21da4c76cd5b90b6a0898b206c03c18b
parent650f33adbd53b0bacdd5d3392ea5b11a8a0fba42
spapr_iommu: Introduce bus_offset in sPAPRTCETable

This adds @bus_offset into sPAPRTCETable to tell where TCE table starts
from. It is set to 0 for emulated devices. Dynamic DMA windows will use
other offset.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
include/hw/ppc/spapr.h