]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: Add custom mode setup if the Secure Boot build option is specified.
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
31
32 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37
38 [BuildOptions]
39 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
40 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
41 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
42 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
43
44 ################################################################################
45 #
46 # SKU Identification section - list of all SKU IDs supported by this Platform.
47 #
48 ################################################################################
49 [SkuIds]
50 0|DEFAULT
51
52 ################################################################################
53 #
54 # Library Class section - list of all Library Classes needed by this Platform.
55 #
56 ################################################################################
57 [LibraryClasses]
58 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
59 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
60 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
61 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
62 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
63 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
64 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
65 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
67 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
69 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
70 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
71 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
72 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
73 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
74 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
75 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
76 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
77 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
78 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
79 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
80 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
81 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
82 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
83 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
84 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
85 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
86 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
87 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
88 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
89 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
90 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
91 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
92 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
93 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
94 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
95 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
96 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
97 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
98
99 !ifdef $(SOURCE_DEBUG_ENABLE)
100 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
101 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
102 !else
103 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
104 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
105 !endif
106
107 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
108 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
109 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
110 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
111
112 !if $(SECURE_BOOT_ENABLE) == TRUE
113 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
114 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
115 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
116 !endif
117
118 [LibraryClasses.common]
119 !if $(SECURE_BOOT_ENABLE) == TRUE
120 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
121 !endif
122
123 [LibraryClasses.common.SEC]
124 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
125 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
126 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
127 !ifdef $(SOURCE_DEBUG_ENABLE)
128 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
129 !endif
130 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
131 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
132 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
133 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
134
135 [LibraryClasses.common.PEI_CORE]
136 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
137 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
138 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
139 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
140 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
141 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
142 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
143 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
144 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
145 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
146
147 [LibraryClasses.common.PEIM]
148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
150 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
152 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
153 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
156 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
157 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
158 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
159 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
160 !ifdef $(SOURCE_DEBUG_ENABLE)
161 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
162 !endif
163
164 [LibraryClasses.common.DXE_CORE]
165 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
166 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
167 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
168 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
169 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
170 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
171 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
172 !ifdef $(SOURCE_DEBUG_ENABLE)
173 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
174 !endif
175
176 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
177 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
178 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
179 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
180 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
181 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
182 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
183 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
184 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
185 !if $(SECURE_BOOT_ENABLE) == TRUE
186 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
187 !endif
188
189 [LibraryClasses.common.UEFI_DRIVER]
190 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
191 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
193 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
194 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
196 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
197
198 [LibraryClasses.common.DXE_DRIVER]
199 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
200 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
201 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
202 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
203 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
204 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
206 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
207 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
208 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
209 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
210 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
211
212 [LibraryClasses.common.UEFI_APPLICATION]
213 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
214 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
215 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
216
217 ################################################################################
218 #
219 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
220 #
221 ################################################################################
222 [PcdsFeatureFlag]
223 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
224 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
226 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
227 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
228 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
229 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
230 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
231 !if $(SECURE_BOOT_ENABLE) == TRUE
232 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
233 !endif
234
235 [PcdsFixedAtBuild]
236 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
237 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
238 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
239 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
240 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
241 !if $(SECURE_BOOT_ENABLE) == TRUE
242 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
243 !else
244 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
245 !endif
246 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
247 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
248 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
249 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
250 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
251
252 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
253
254 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
255 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
256 !ifdef $(SOURCE_DEBUG_ENABLE)
257 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
258 !else
259 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
260 !endif
261
262 !if $(SECURE_BOOT_ENABLE) == TRUE
263 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
264 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
265 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
266 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
267 !endif
268
269 !ifdef $(SOURCE_DEBUG_ENABLE)
270 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
271 !endif
272
273 !if $(BUILD_NEW_SHELL)
274 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
275 !else
276 !if $(USE_NEW_SHELL)
277 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
278 !endif
279 !endif
280
281 ################################################################################
282 #
283 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
284 #
285 ################################################################################
286
287 [PcdsDynamicDefault]
288 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
289 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
290 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
291 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
292
293
294 ################################################################################
295 #
296 # Components Section - list of all EDK II Modules needed by this Platform.
297 #
298 ################################################################################
299 [Components]
300 #
301 # SEC Phase modules
302 #
303 OvmfPkg/Sec/SecMain.inf {
304 <LibraryClasses>
305 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
306 }
307
308 #
309 # PEI Phase modules
310 #
311 MdeModulePkg/Core/Pei/PeiMain.inf
312 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
313 <LibraryClasses>
314 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
315 }
316 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
317 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
318
319 OvmfPkg/PlatformPei/PlatformPei.inf {
320 <LibraryClasses>
321 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
322 }
323
324 #
325 # DXE Phase modules
326 #
327 MdeModulePkg/Core/Dxe/DxeMain.inf {
328 <LibraryClasses>
329 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
330 }
331
332 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
333 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
334 <LibraryClasses>
335 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
336 }
337
338 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
339
340 !if $(SECURE_BOOT_ENABLE) == TRUE
341 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
342 <LibraryClasses>
343 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
344 }
345 !else
346 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
347 !endif
348
349 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
350 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
351 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
352 UefiCpuPkg/CpuDxe/CpuDxe.inf
353 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
354 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
355 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
356 PcAtChipsetPkg/KbcResetDxe/Reset.inf
357 MdeModulePkg/Universal/Metronome/Metronome.inf {
358 <LibraryClasses>
359 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
360 }
361
362 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
363 <LibraryClasses>
364 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
365 }
366
367 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
368 <LibraryClasses>
369 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
370 !ifdef $(CSM_ENABLE)
371 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
372 !endif
373 }
374
375 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
376 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
377 <LibraryClasses>
378 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
379 }
380 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
381 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
382 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
383 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
384 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
385 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
386 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
387 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
388 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
389 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
390 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
391 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
392 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
393 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
394 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
395 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
396 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
397 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
398 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
399 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
400 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
401
402 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
403 <LibraryClasses>
404 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
405 }
406
407 #
408 # ISA Support
409 #
410 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
411 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
412 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
413 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
414 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
415
416 #
417 # SMBIOS Support
418 #
419 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
420 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
421
422 #
423 # ACPI Support
424 #
425 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
426 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
427 OvmfPkg/AcpiTables/AcpiTables.inf
428
429 #
430 # Network Support
431 #
432 !if $(NETWORK_ENABLE)
433 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
434 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
435 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
436 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
437 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
438 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
439 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
440 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
441 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
442 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
443 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
444 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
445 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
446 !endif
447
448 #
449 # Usb Support
450 #
451 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
452 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
453 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
454 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
455 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
456
457 !ifdef $(CSM_ENABLE)
458 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
459 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
460 OvmfPkg/Csm/Csm16/Csm16.inf
461 !endif
462
463 !if $(BUILD_NEW_SHELL)
464 ShellPkg/Application/Shell/Shell.inf {
465 <LibraryClasses>
466 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
467 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
468 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
469 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
470 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
471 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
472 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
473 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
474 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
475 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
476 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
477 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
478 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
479 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
480 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
481 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
482
483 <PcdsFixedAtBuild>
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
485 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
486 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
487 }
488 !endif
489
490 !if $(SECURE_BOOT_ENABLE) == TRUE
491 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
492 <LibraryClasses>
493 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
494 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
495 }
496 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
497 !endif