]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
Remove unused PCDs in OVMF Platform.
[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 !if $(SECURE_BOOT_ENABLE) == TRUE
230 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
231 !endif
232
233 [PcdsFixedAtBuild]
234 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
235 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
236 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
237 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
238 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
239 !if $(SECURE_BOOT_ENABLE) == TRUE
240 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
241 !else
242 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
243 !endif
244 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
245 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
246 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
247 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
248 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
249
250 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
251
252 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
253 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
254 !ifdef $(SOURCE_DEBUG_ENABLE)
255 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
256 !else
257 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
258 !endif
259
260 !if $(SECURE_BOOT_ENABLE) == TRUE
261 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
262 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
263 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
264 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
265 !endif
266
267 !ifdef $(SOURCE_DEBUG_ENABLE)
268 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
269 !endif
270
271 !if $(BUILD_NEW_SHELL)
272 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
273 !else
274 !if $(USE_NEW_SHELL)
275 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
276 !endif
277 !endif
278
279 ################################################################################
280 #
281 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
282 #
283 ################################################################################
284
285 [PcdsDynamicDefault]
286 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
287 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
288 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
289 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
290
291
292 ################################################################################
293 #
294 # Components Section - list of all EDK II Modules needed by this Platform.
295 #
296 ################################################################################
297 [Components]
298 #
299 # SEC Phase modules
300 #
301 OvmfPkg/Sec/SecMain.inf {
302 <LibraryClasses>
303 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
304 }
305
306 #
307 # PEI Phase modules
308 #
309 MdeModulePkg/Core/Pei/PeiMain.inf
310 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
311 <LibraryClasses>
312 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
313 }
314 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
315 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
316
317 OvmfPkg/PlatformPei/PlatformPei.inf {
318 <LibraryClasses>
319 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
320 }
321
322 #
323 # DXE Phase modules
324 #
325 MdeModulePkg/Core/Dxe/DxeMain.inf {
326 <LibraryClasses>
327 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
328 }
329
330 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
331 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
332 <LibraryClasses>
333 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
334 }
335
336 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
337
338 !if $(SECURE_BOOT_ENABLE) == TRUE
339 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
340 <LibraryClasses>
341 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
342 }
343 !else
344 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
345 !endif
346
347 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
348 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
349 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
350 UefiCpuPkg/CpuDxe/CpuDxe.inf
351 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
352 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
353 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
354 PcAtChipsetPkg/KbcResetDxe/Reset.inf
355 MdeModulePkg/Universal/Metronome/Metronome.inf {
356 <LibraryClasses>
357 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
358 }
359
360 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
361 <LibraryClasses>
362 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
363 }
364
365 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
366 <LibraryClasses>
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
368 !ifdef $(CSM_ENABLE)
369 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
370 !endif
371 }
372
373 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
374 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
375 <LibraryClasses>
376 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
377 }
378 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
379 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
380 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
381 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
382 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
383 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
384 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
385 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
386 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
387 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
388 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
389 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
390 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
391 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
392 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
393 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
394 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
395 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
396 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
397 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
398 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
399
400 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
401 <LibraryClasses>
402 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
403 }
404
405 #
406 # ISA Support
407 #
408 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
409 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
410 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
411 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
412 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
413
414 #
415 # SMBIOS Support
416 #
417 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
418 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
419
420 #
421 # ACPI Support
422 #
423 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
424 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
425 OvmfPkg/AcpiTables/AcpiTables.inf
426
427 #
428 # Network Support
429 #
430 !if $(NETWORK_ENABLE)
431 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
432 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
433 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
434 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
435 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
436 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
437 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
438 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
439 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
440 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
441 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
442 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
443 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
444 !endif
445
446 #
447 # Usb Support
448 #
449 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
450 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
451 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
452 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
453 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
454
455 !ifdef $(CSM_ENABLE)
456 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
457 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
458 OvmfPkg/Csm/Csm16/Csm16.inf
459 !endif
460
461 !if $(BUILD_NEW_SHELL)
462 ShellPkg/Application/Shell/Shell.inf {
463 <LibraryClasses>
464 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
465 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
466 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
467 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
468 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
469 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
470 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
471 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
472 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
473 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
474 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
475 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
476 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
477 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
478 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
479 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
480
481 <PcdsFixedAtBuild>
482 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
483 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
484 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
485 }
486 !endif
487
488 !if $(SECURE_BOOT_ENABLE) == TRUE
489 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
490 <LibraryClasses>
491 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
492 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
493 }
494 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
495 !endif