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