10#define __PEI_IOMMU_H__
27#define EDKII_IOMMU_PPI_GUID \
29 0x70b0af26, 0xf847, 0x4bb6, { 0xaa, 0xb9, 0xcd, 0xe8, 0x4f, 0xc6, 0x14, 0x31 } \
42#define EDKII_IOMMU_PPI_REVISION 0x00010000
104 IN VOID *HostAddress,
157 IN OUT VOID **HostAddress,
EFI_STATUS(EFIAPI * EDKII_PEI_IOMMU_UNMAP)(IN EDKII_IOMMU_PPI *This, IN VOID *Mapping)
EFI_STATUS(EFIAPI * EDKII_PEI_IOMMU_MAP)(IN EDKII_IOMMU_PPI *This, IN EDKII_IOMMU_OPERATION Operation, IN VOID *HostAddress, IN OUT UINTN *NumberOfBytes, OUT EFI_PHYSICAL_ADDRESS *DeviceAddress, OUT VOID **Mapping)
EFI_STATUS(EFIAPI * EDKII_PEI_IOMMU_SET_ATTRIBUTE)(IN EDKII_IOMMU_PPI *This, IN VOID *Mapping, IN UINT64 IoMmuAccess)
EFI_STATUS(EFIAPI * EDKII_PEI_IOMMU_FREE_BUFFER)(IN EDKII_IOMMU_PPI *This, IN UINTN Pages, IN VOID *HostAddress)
EFI_GUID gEdkiiIoMmuPpiGuid
EFI_STATUS(EFIAPI * EDKII_PEI_IOMMU_ALLOCATE_BUFFER)(IN EDKII_IOMMU_PPI *This, IN EFI_MEMORY_TYPE MemoryType, IN UINTN Pages, IN OUT VOID **HostAddress, IN UINT64 Attributes)
UINT64 EFI_PHYSICAL_ADDRESS