X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=MdeModulePkg%2FInclude%2FPpi%2FIoMmu.h;h=8439bb071b1bff6c0d6000a64aa3b658e322e5c7;hb=HEAD;hp=0dfe6f4d4b44f3b2e43942605a2201c8202d5fa9;hpb=20b58eb850ee6d1263bbe175e28d42dd1eaa9d05;p=mirror_edk2.git diff --git a/MdeModulePkg/Include/Ppi/IoMmu.h b/MdeModulePkg/Include/Ppi/IoMmu.h index 0dfe6f4d4b..8439bb071b 100644 --- a/MdeModulePkg/Include/Ppi/IoMmu.h +++ b/MdeModulePkg/Include/Ppi/IoMmu.h @@ -2,17 +2,10 @@ PEI IOMMU PPI. Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.
-This program and the accompanying materials are licensed and made available under -the terms and conditions of the BSD License that accompanies this distribution. -The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php. - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +SPDX-License-Identifier: BSD-2-Clause-Patent **/ - #ifndef __PEI_IOMMU_H__ #define __PEI_IOMMU_H__ @@ -39,14 +32,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // // Forward reference for pure ANSI compatability // -typedef struct _EDKII_IOMMU_PPI EDKII_IOMMU_PPI; +typedef struct _EDKII_IOMMU_PPI EDKII_IOMMU_PPI; // // Revision The revision to which the IOMMU interface adheres. // All future revisions must be backwards compatible. // If a future version is not back wards compatible it is not the same GUID. // -#define EDKII_IOMMU_PPI_REVISION 0x00010000 +#define EDKII_IOMMU_PPI_REVISION 0x00010000 /** Set IOMMU attribute for a system memory. @@ -191,17 +184,17 @@ EFI_STATUS /// IOMMU PPI structure. /// struct _EDKII_IOMMU_PPI { - UINT64 Revision; - EDKII_PEI_IOMMU_SET_ATTRIBUTE SetAttribute; - EDKII_PEI_IOMMU_MAP Map; - EDKII_PEI_IOMMU_UNMAP Unmap; - EDKII_PEI_IOMMU_ALLOCATE_BUFFER AllocateBuffer; - EDKII_PEI_IOMMU_FREE_BUFFER FreeBuffer; + UINT64 Revision; + EDKII_PEI_IOMMU_SET_ATTRIBUTE SetAttribute; + EDKII_PEI_IOMMU_MAP Map; + EDKII_PEI_IOMMU_UNMAP Unmap; + EDKII_PEI_IOMMU_ALLOCATE_BUFFER AllocateBuffer; + EDKII_PEI_IOMMU_FREE_BUFFER FreeBuffer; }; /// /// IOMMU PPI GUID variable. /// -extern EFI_GUID gEdkiiIoMmuPpiGuid; +extern EFI_GUID gEdkiiIoMmuPpiGuid; #endif