summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEric Auger2018-05-04 19:05:51 +0200
committerPeter Maydell2018-05-04 19:05:51 +0200
commitcac994ef43b128c80c56b4cd4dd9d8af0f95da3f (patch)
treedd5dc9512885fed02e12a4d50ccdaa451937f4f2 /scripts
parenthw/arm/smmu-common: smmu base device and datatypes (diff)
downloadqemu-cac994ef43b128c80c56b4cd4dd9d8af0f95da3f.tar.gz
qemu-cac994ef43b128c80c56b4cd4dd9d8af0f95da3f.tar.xz
qemu-cac994ef43b128c80c56b4cd4dd9d8af0f95da3f.zip
hw/arm/smmu-common: IOMMU memory region and address space setup
We set up the infrastructure to enumerate all the PCI devices attached to the SMMU and create an associated IOMMU memory region and address space. Those info are stored in SMMUDevice objects. The devices are grouped according to the PCIBus they belong to. A hash table indexed by the PCIBus pointer is used. Also an array indexed by the bus number allows to find the list of SMMUDevices. Signed-off-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Prem Mallappa <prem.mallappa@broadcom.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1524665762-31355-3-git-send-email-eric.auger@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions