]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgIa32.dsc
SecurityPkg: Add TPM PTP support in TCG2 SMM.
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
86a9c7a7 4# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
49ba9447 5#\r
56d7640a 6# This program and the accompanying materials\r
49ba9447 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
49ba9447 15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = Ovmf\r
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
24 PLATFORM_VERSION = 0.1\r
713b7b5e 25 DSC_SPECIFICATION = 0x00010005\r
49ba9447 26 OUTPUT_DIRECTORY = Build/OvmfIa32\r
27 SUPPORTED_ARCHITECTURES = IA32\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
7416f4eb 30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf\r
49ba9447 31\r
e05061c5 32 #\r
33 # Defines for default states. These can be changed on the command line.\r
34 # -D FLAG=VALUE\r
35 #\r
36 DEFINE SECURE_BOOT_ENABLE = FALSE\r
36c6413f 37 DEFINE NETWORK_IP6_ENABLE = FALSE\r
ab44a6e8 38 DEFINE HTTP_BOOT_ENABLE = FALSE\r
1f695483 39 DEFINE SMM_REQUIRE = FALSE\r
e05061c5 40\r
0bc7e56d 41[BuildOptions]\r
0b5a5022 42 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
152d9a6b 43 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
44 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
45 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
4a8266f5 46 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
0bc7e56d 47\r
ddd89cd5
AB
48[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
49 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
50\r
49ba9447 51################################################################################\r
52#\r
53# SKU Identification section - list of all SKU IDs supported by this Platform.\r
54#\r
55################################################################################\r
56[SkuIds]\r
57 0|DEFAULT\r
58\r
59################################################################################\r
60#\r
61# Library Class section - list of all Library Classes needed by this Platform.\r
62#\r
63################################################################################\r
7b202cb0 64[LibraryClasses]\r
49ba9447 65 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170ef2d9 66 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
49ba9447 67 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
4a8266f5 68 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
49ba9447 69 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
70 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
71 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
72 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
73 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
49ba9447 74 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
75 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
76 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
49ba9447 78 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
79 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
80 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
cd455669 81 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
49ba9447 82 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
83 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
84 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
85 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
1630c6df 86 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 87 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
88 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
86fef5b4 89 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
90 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
91 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
92 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
93 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
5c3481b0 94 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
14b21de9 95 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
ae591c14 96 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
284af948 97 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
8273af4e 98 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
7416f4eb 99 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
100 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
101 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
102 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
689562cd 103 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
b043ebc2 104 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
f1ec65ba 105 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
263559b8 106 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
3c0a051f 107 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
67d86594 108!if $(SMM_REQUIRE) == FALSE\r
6a7cba79 109 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
67d86594 110!endif\r
56af21cb 111 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
152d9a6b 112\r
c6efcc2a 113!ifdef $(SOURCE_DEBUG_ENABLE)\r
114 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
115 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
116!else\r
42a83e80 117 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
118 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
c6efcc2a 119!endif\r
152d9a6b 120\r
7ca30a6a 121 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
decb365b 122 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
8cee3de7 123 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
124\r
125!if $(SECURE_BOOT_ENABLE) == TRUE\r
126 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
127 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
128 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
0d28d286 129 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
285542eb 130 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
36c6413f
GL
131!if $(NETWORK_IP6_ENABLE) == TRUE\r
132 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
133!endif\r
285542eb
SZ
134!else\r
135 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
136 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
8cee3de7 137!endif\r
68ef1ad7 138 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
8cee3de7 139\r
ab44a6e8
GCPL
140!if $(HTTP_BOOT_ENABLE) == TRUE\r
141 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
142!endif\r
143\r
b017b1b2
LE
144 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
145 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
48cc4d0c 146 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
df040c00 147 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
b017b1b2 148\r
8cee3de7 149[LibraryClasses.common]\r
150!if $(SECURE_BOOT_ENABLE) == TRUE\r
151 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
152!endif\r
152d9a6b 153\r
49ba9447 154[LibraryClasses.common.SEC]\r
170ef2d9 155 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
c90decb9 156 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
b90aefa9 157!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 158 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 159!else\r
160 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
161!endif\r
abec2e51 162 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
fcd7e677 163 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
c6efcc2a 164!ifdef $(SOURCE_DEBUG_ENABLE)\r
165 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
166!endif\r
42a83e80 167 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
168 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
169 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
170 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
85a32c71 171 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
152d9a6b 172\r
49ba9447 173[LibraryClasses.common.PEI_CORE]\r
49ba9447 174 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
175 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
176 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
177 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
178 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
abec2e51 179 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 180 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 181 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 182!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 183 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 184!else\r
185 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
186!endif\r
49ba9447 187 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
188\r
189[LibraryClasses.common.PEIM]\r
49ba9447 190 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
191 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
192 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
193 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
194 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
abec2e51 195 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 196 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 197 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 198!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 199 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 200!else\r
201 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
202!endif\r
49ba9447 203 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
204 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
205 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
c6efcc2a 206!ifdef $(SOURCE_DEBUG_ENABLE)\r
207 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
208!endif\r
49ba9447 209\r
210[LibraryClasses.common.DXE_CORE]\r
49ba9447 211 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
212 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
213 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
abec2e51 214 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 215!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 216 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 217!else\r
218 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
219!endif\r
49ba9447 220 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
c6efcc2a 221!ifdef $(SOURCE_DEBUG_ENABLE)\r
222 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
223!endif\r
85a32c71 224 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c075d250 225 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
49ba9447 226\r
227[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
988e5986 228 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 229 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 230 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
231 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
232 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 233 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
b90aefa9 234!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 235 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 236!else\r
237 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
238!endif\r
49ba9447 239 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8cee3de7 240!if $(SECURE_BOOT_ENABLE) == TRUE\r
241 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
242!endif\r
49ba9447 243\r
244[LibraryClasses.common.UEFI_DRIVER]\r
988e5986
GS
245 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
246 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 247 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
248 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
249 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 250 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 251!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 252 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 253!else\r
254 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
255!endif\r
49ba9447 256 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
257\r
258[LibraryClasses.common.DXE_DRIVER]\r
988e5986 259 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 260 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 261 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49ba9447 262 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 263 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
49ba9447 264 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b90aefa9 265!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 267!else\r
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
269!endif\r
49ba9447 270 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
271 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
272 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
273 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
274 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
85a32c71 275 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
67d86594
LE
276!if $(SMM_REQUIRE) == TRUE\r
277 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
278!else\r
6a7cba79 279 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
67d86594 280!endif\r
34511266
JJ
281!ifdef $(SOURCE_DEBUG_ENABLE)\r
282 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
283!endif\r
cca7475b 284 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
49ba9447 285\r
86fef5b4 286[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
287 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
288 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
86fef5b4 289 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
290 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
b90aefa9 291!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 293!else\r
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
295!endif\r
86fef5b4 296\r
988e5986
GS
297[LibraryClasses.common.DXE_SMM_DRIVER]\r
298 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
299 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
67d86594 300 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 301 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
302 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
303 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8dbe742d
LE
304 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
305!ifdef $(DEBUG_ON_SERIAL_PORT)\r
306 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
307!else\r
308 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
309!endif\r
c30ff8f4 310 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
cbd5d723
MK
311!ifdef $(SOURCE_DEBUG_ENABLE)\r
312 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
313!endif\r
46df0216 314 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
988e5986
GS
315\r
316[LibraryClasses.common.SMM_CORE]\r
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
318 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
f25cb158
LE
319 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
320 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
321 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
322 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
323 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
324 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
325!ifdef $(DEBUG_ON_SERIAL_PORT)\r
326 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
327!else\r
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
329!endif\r
988e5986 330\r
49ba9447 331################################################################################\r
332#\r
333# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
334#\r
335################################################################################\r
7b202cb0 336[PcdsFeatureFlag]\r
e8d1b8d8 337 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
338 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
8fa729a8
LG
339 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
340 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
8fa729a8
LG
341 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
342 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
e05061c5 343!if $(SECURE_BOOT_ENABLE) == TRUE\r
344 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
345!endif\r
1f695483
LE
346!if $(SMM_REQUIRE) == TRUE\r
347 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
896d3dcf 348 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
1f695483 349!endif\r
49ba9447 350\r
7b202cb0 351[PcdsFixedAtBuild]\r
e6d3b270 352 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
670a64e7 353 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
49ba9447 354 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
355 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
356 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
fd4ba547 357 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
49ba9447 358 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
9a089978 359 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
49ba9447 360\r
49ba9447 361 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
362\r
49ba9447 363 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
364 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
c6efcc2a 365!ifdef $(SOURCE_DEBUG_ENABLE)\r
366 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
367!else\r
49ba9447 368 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 369!endif\r
370\r
670a64e7 371!ifdef $(SOURCE_DEBUG_ENABLE)\r
c6efcc2a 372 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 373!endif\r
49ba9447 374\r
9bef3cdc 375!ifndef $(USE_OLD_SHELL)\r
345a0c8f 376 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
345a0c8f 377!endif\r
378\r
9b1e3788
PB
379!if $(SMM_REQUIRE) == TRUE\r
380 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
bb0f18b0 381 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
9b1e3788
PB
382!endif\r
383\r
1fea9ddb
LE
384!if $(SECURE_BOOT_ENABLE) == TRUE\r
385 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
386!endif\r
387\r
7ca126ff 388 # IRQs 5, 9, 10, 11 are level-triggered\r
389 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
390\r
49ba9447 391################################################################################\r
392#\r
393# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
394#\r
395################################################################################\r
396\r
7b202cb0 397[PcdsDynamicDefault]\r
77ba993c 398 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
e3130268 399 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
27f58ea1 400 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
401 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447d2641 402 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
c4341e3a
LE
403 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
404 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
d55004da 405 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
27f58ea1 406\r
86a9c7a7 407 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 408\r
848834cb 409 # Set video resolution for text setup.\r
86a9c7a7
RN
410 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 412\r
37baf06b 413 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 414 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 415 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 416\r
d26753f8 417 # Noexec settings for DXE.\r
d20b06a3 418 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
c075d250 419 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
d26753f8 420\r
49ba9447 421################################################################################\r
422#\r
423# Components Section - list of all EDK II Modules needed by this Platform.\r
424#\r
425################################################################################\r
7b202cb0 426[Components]\r
497cbb53
JJ
427 OvmfPkg/ResetVector/ResetVector.inf\r
428\r
49ba9447 429 #\r
430 # SEC Phase modules\r
431 #\r
c1c2669c 432 OvmfPkg/Sec/SecMain.inf {\r
433 <LibraryClasses>\r
434 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
435 }\r
49ba9447 436\r
437 #\r
438 # PEI Phase modules\r
439 #\r
440 MdeModulePkg/Core/Pei/PeiMain.inf\r
441 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
442 <LibraryClasses>\r
443 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
444 }\r
445 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
d26753f8
LE
446 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
447 <LibraryClasses>\r
448 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
449 }\r
77ba993c 450\r
451 OvmfPkg/PlatformPei/PlatformPei.inf {\r
452 <LibraryClasses>\r
453 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
454 }\r
5fb6fc0f
LE
455 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
456 <LibraryClasses>\r
457 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
67d86594
LE
458!if $(SMM_REQUIRE) == TRUE\r
459 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
460!endif\r
5fb6fc0f 461 }\r
9d560947
LE
462!if $(SMM_REQUIRE) == TRUE\r
463 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
464 <LibraryClasses>\r
465 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
466 }\r
467!endif\r
49ba9447 468\r
469 #\r
470 # DXE Phase modules\r
471 #\r
472 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
473 <LibraryClasses>\r
474 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5c3481b0 475 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 476 }\r
477\r
478 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
479 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
480 <LibraryClasses>\r
481 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
482 }\r
483\r
484 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 485\r
486!if $(SECURE_BOOT_ENABLE) == TRUE\r
487 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
488 <LibraryClasses>\r
489 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
8cee3de7 490 }\r
491!else\r
49ba9447 492 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
8cee3de7 493!endif\r
494\r
e6d3b270 495 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
49ba9447 496 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
73cbc580 497 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 498 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
499 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
d52bde1c 500 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
447d2641
WL
501 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
502 <LibraryClasses>\r
503 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
504 }\r
49ba9447 505 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
170ef2d9
GS
506 MdeModulePkg/Universal/Metronome/Metronome.inf\r
507 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
c1c2669c 508 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
49ba9447 509 <LibraryClasses>\r
8016da21 510!ifdef $(CSM_ENABLE)\r
511 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
512!endif\r
49ba9447 513 }\r
514\r
efd82c57 515 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
56f65ed8 516 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
fd51d759 517 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 518 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
d9fdfd85 519 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 520 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 521 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
49ba9447 522 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
523 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
524 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
525 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
526 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
527 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
528 <LibraryClasses>\r
529 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
530 }\r
49ba9447 531 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
5c3481b0
RN
532 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
533 <LibraryClasses>\r
534 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
535 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
536 }\r
86fef5b4 537 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 538 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
539 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
540 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
541 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
542 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
543 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
544 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
545 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
49ba9447 546 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
547 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 548 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 549 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 550\r
eaf4f336 551 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
552 <LibraryClasses>\r
553 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
554 }\r
49ba9447 555\r
556 #\r
557 # ISA Support\r
558 #\r
559 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
560 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
561 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
562 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
563 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
564\r
fb511817 565 #\r
566 # SMBIOS Support\r
567 #\r
98937dc2
LE
568 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
569 <LibraryClasses>\r
570 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
571 }\r
fb511817 572 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
573\r
49ba9447 574 #\r
575 # ACPI Support\r
576 #\r
577 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 578 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 579 OvmfPkg/AcpiTables/AcpiTables.inf\r
389cbceb 580 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
b017b1b2 581 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 582 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
7416f4eb 583\r
584 #\r
585 # Network Support\r
586 #\r
7416f4eb 587 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
588 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
589 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
590 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
591 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
592 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
7416f4eb 593 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
594 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
7416f4eb 595 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
36c6413f
GL
596!if $(NETWORK_IP6_ENABLE) == TRUE\r
597 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
598 NetworkPkg/TcpDxe/TcpDxe.inf\r
599 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
600 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
601 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
602 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
603!if $(SECURE_BOOT_ENABLE) == TRUE\r
604 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
605!else\r
606 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
607!endif\r
608!else\r
609 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
7416f4eb 610 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
611 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
ab44a6e8
GCPL
612!endif\r
613!if $(HTTP_BOOT_ENABLE) == TRUE\r
614 NetworkPkg/DnsDxe/DnsDxe.inf\r
1a85139d 615 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
ab44a6e8
GCPL
616 NetworkPkg/HttpDxe/HttpDxe.inf\r
617 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
36c6413f 618!endif\r
7a1f5947 619 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 620\r
689562cd 621 #\r
622 # Usb Support\r
623 #\r
624 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
625 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 626 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 627 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
628 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
629 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
630\r
4b3d663f 631!ifdef $(CSM_ENABLE)\r
e04cca1d
PB
632 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
633 <LibraryClasses>\r
634 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
635 }\r
4b3d663f 636 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
637 OvmfPkg/Csm/Csm16/Csm16.inf\r
638!endif\r
639\r
9bef3cdc 640!ifndef $(USE_OLD_SHELL)\r
345a0c8f 641 ShellPkg/Application/Shell/Shell.inf {\r
642 <LibraryClasses>\r
643 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
644 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
645 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
646 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
647 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
648 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
649 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
650 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
b2f88ffd 651 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
345a0c8f 652 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 653 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
ae591c14
DM
654 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
655 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
345a0c8f 656 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
657# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
658# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
9fc9f4d8 659 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 660\r
661 <PcdsFixedAtBuild>\r
662 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
663 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
664 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
665 }\r
666!endif\r
667\r
8cee3de7 668!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 669 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 670!endif\r
d945a8ba
LE
671\r
672 OvmfPkg/PlatformDxe/Platform.inf\r
c5b7c805
LE
673\r
674!if $(SMM_REQUIRE) == TRUE\r
675 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 676 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 677 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
678\r
679 #\r
680 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
681 #\r
682 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
683\r
684 #\r
685 # SMM_CORE\r
686 #\r
687 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
688\r
689 #\r
690 # Privileged drivers (DXE_SMM_DRIVER modules)\r
691 #\r
692 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
693 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
694 <LibraryClasses>\r
695 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
696 }\r
0d5d4205
LE
697 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
698 <LibraryClasses>\r
699 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
700 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
701 }\r
1b0a8e62
LE
702\r
703 #\r
46df0216
LE
704 # Variable driver stack (SMM)\r
705 #\r
706 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
707 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
708 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
709 <LibraryClasses>\r
710 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
711 }\r
712 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
713\r
714!else\r
715\r
716 #\r
717 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
718 #\r
719 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
720 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
721 <LibraryClasses>\r
722 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
723 }\r
724 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
725 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
726 <LibraryClasses>\r
727 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
728 }\r
46df0216 729!endif\r