PEI IOMMU PPI.\r
\r
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under\r
-the terms and conditions of the BSD License that accompanies this distribution.\r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
-\r
#ifndef __PEI_IOMMU_H__\r
#define __PEI_IOMMU_H__\r
\r
//\r
// Forward reference for pure ANSI compatability\r
//\r
-typedef struct _EDKII_IOMMU_PPI EDKII_IOMMU_PPI;\r
+typedef struct _EDKII_IOMMU_PPI EDKII_IOMMU_PPI;\r
\r
//\r
// Revision The revision to which the IOMMU interface adheres.\r
// All future revisions must be backwards compatible.\r
// If a future version is not back wards compatible it is not the same GUID.\r
//\r
-#define EDKII_IOMMU_PPI_REVISION 0x00010000\r
+#define EDKII_IOMMU_PPI_REVISION 0x00010000\r
\r
/**\r
Set IOMMU attribute for a system memory.\r
/// IOMMU PPI structure.\r
///\r
struct _EDKII_IOMMU_PPI {\r
- UINT64 Revision;\r
- EDKII_PEI_IOMMU_SET_ATTRIBUTE SetAttribute;\r
- EDKII_PEI_IOMMU_MAP Map;\r
- EDKII_PEI_IOMMU_UNMAP Unmap;\r
- EDKII_PEI_IOMMU_ALLOCATE_BUFFER AllocateBuffer;\r
- EDKII_PEI_IOMMU_FREE_BUFFER FreeBuffer;\r
+ UINT64 Revision;\r
+ EDKII_PEI_IOMMU_SET_ATTRIBUTE SetAttribute;\r
+ EDKII_PEI_IOMMU_MAP Map;\r
+ EDKII_PEI_IOMMU_UNMAP Unmap;\r
+ EDKII_PEI_IOMMU_ALLOCATE_BUFFER AllocateBuffer;\r
+ EDKII_PEI_IOMMU_FREE_BUFFER FreeBuffer;\r
};\r
\r
///\r
/// IOMMU PPI GUID variable.\r
///\r
-extern EFI_GUID gEdkiiIoMmuPpiGuid;\r
+extern EFI_GUID gEdkiiIoMmuPpiGuid;\r
\r
#endif\r