|
@@ -251,9 +251,10 @@ typedef struct IOMMUMemoryRegionClass {
|
|
* @iommu: the IOMMUMemoryRegion
|
|
* @iommu: the IOMMUMemoryRegion
|
|
* @hwaddr: address to be translated within the memory region
|
|
* @hwaddr: address to be translated within the memory region
|
|
* @flag: requested access permissions
|
|
* @flag: requested access permissions
|
|
|
|
+ * @iommu_idx: IOMMU index for the translation
|
|
*/
|
|
*/
|
|
IOMMUTLBEntry (*translate)(IOMMUMemoryRegion *iommu, hwaddr addr,
|
|
IOMMUTLBEntry (*translate)(IOMMUMemoryRegion *iommu, hwaddr addr,
|
|
- IOMMUAccessFlags flag);
|
|
|
|
|
|
+ IOMMUAccessFlags flag, int iommu_idx);
|
|
/* Returns minimum supported page size in bytes.
|
|
/* Returns minimum supported page size in bytes.
|
|
* If this method is not provided then the minimum is assumed to
|
|
* If this method is not provided then the minimum is assumed to
|
|
* be TARGET_PAGE_SIZE.
|
|
* be TARGET_PAGE_SIZE.
|