IntelSiliconPkg/IntelVtd: Consume VTd policy PCD
[mirror_edk2.git] / IntelSiliconPkg / IntelVTdDxe / IntelVTdDxe.inf
CommitLineData
c049fc99
JY
1## @file\r
2# Intel VTd DXE Driver.\r
3#\r
4# This driver initializes VTd engine based upon DMAR ACPI tables\r
5# and provide DMA protection to PCI or ACPI device.\r
6#\r
7# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
8# This program and the accompanying materials\r
9# are licensed and made available under the terms and conditions of the BSD License\r
10# which accompanies this distribution. The full text of the license may be found at\r
11# http://opensource.org/licenses/bsd-license.php\r
12#\r
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15#\r
16##\r
17\r
18[Defines]\r
19 INF_VERSION = 0x00010005\r
20 BASE_NAME = IntelVTdDxe\r
21 MODULE_UNI_FILE = IntelVTdDxe.uni\r
22 FILE_GUID = 987555D6-595D-4CFA-B895-59B89368BD4D\r
23 MODULE_TYPE = DXE_DRIVER\r
24 VERSION_STRING = 1.0\r
25 ENTRY_POINT = IntelVTdInitialize\r
26\r
27#\r
28# The following information is for reference only and not required by the build tools.\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
31#\r
32#\r
33\r
34[Sources]\r
35 IntelVTdDxe.c\r
36 BmDma.c\r
37 DmaProtection.c\r
38 DmaProtection.h\r
39 DmarAcpiTable.c\r
40 PciInfo.c\r
41 TranslationTable.c\r
42 TranslationTableEx.c\r
43 VtdReg.c\r
44\r
45[Packages]\r
46 MdePkg/MdePkg.dec\r
47 MdeModulePkg/MdeModulePkg.dec\r
48 IntelSiliconPkg/IntelSiliconPkg.dec\r
49\r
50[LibraryClasses]\r
51 DebugLib\r
52 UefiDriverEntryPoint\r
53 UefiBootServicesTableLib\r
54 BaseLib\r
55 IoLib\r
56 PciSegmentLib\r
57 BaseMemoryLib\r
58 MemoryAllocationLib\r
59 UefiLib\r
4ad5f597
JY
60 CacheMaintenanceLib\r
61 PerformanceLib\r
62 PrintLib\r
c049fc99
JY
63\r
64[Guids]\r
65 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
66 gEfiAcpi20TableGuid ## CONSUMES ## SystemTable\r
67 gEfiAcpiTableGuid ## CONSUMES ## SystemTable\r
68\r
69[Protocols]\r
70 gEdkiiIoMmuProtocolGuid ## PRODUCES\r
71 gEfiAcpiSdtProtocolGuid ## CONSUMES\r
72 gEfiPciIoProtocolGuid ## CONSUMES\r
73 gEfiPciEnumerationCompleteProtocolGuid ## CONSUMES\r
74 gEdkiiPlatformVTdPolicyProtocolGuid ## SOMETIMES_CONSUMES\r
75\r
c50596a7
JY
76[Pcd]\r
77 gIntelSiliconPkgTokenSpaceGuid.PcdVTdPolicyPropertyMask ## CONSUMES\r
78\r
c049fc99
JY
79[Depex]\r
80 gEfiPciRootBridgeIoProtocolGuid AND\r
81 gEfiAcpiSdtProtocolGuid\r
82\r
83[UserExtensions.TianoCore."ExtraFiles"]\r
84 IntelVTdDxeExtra.uni\r
85\r