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