]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: Add QemuFwCfgLib library class and implementation
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.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/OvmfIa32
27 SUPPORTED_ARCHITECTURES = IA32
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.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 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
98 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
99
100 !ifdef $(SOURCE_DEBUG_ENABLE)
101 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
102 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
103 !else
104 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
105 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
106 !endif
107
108 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
109 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
110 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
111 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
112
113 !if $(SECURE_BOOT_ENABLE) == TRUE
114 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
115 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
116 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
117 !endif
118
119 [LibraryClasses.common]
120 !if $(SECURE_BOOT_ENABLE) == TRUE
121 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
122 !endif
123
124 [LibraryClasses.common.SEC]
125 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
126 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
127 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
128 !ifdef $(SOURCE_DEBUG_ENABLE)
129 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
130 !endif
131 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
132 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
133 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
134 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
135
136 [LibraryClasses.common.PEI_CORE]
137 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
138 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
139 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
140 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
141 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
142 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
143 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
144 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
145 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
146 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
147
148 [LibraryClasses.common.PEIM]
149 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
150 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
151 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
152 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
153 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
154 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
155 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
156 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
157 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
158 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
159 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
160 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
161 !ifdef $(SOURCE_DEBUG_ENABLE)
162 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
163 !endif
164
165 [LibraryClasses.common.DXE_CORE]
166 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
167 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
168 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
169 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
170 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
171 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
172 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
173 !ifdef $(SOURCE_DEBUG_ENABLE)
174 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
175 !endif
176
177 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
178 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
179 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
180 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
181 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
182 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
183 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
184 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
185 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
186 !if $(SECURE_BOOT_ENABLE) == TRUE
187 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
188 !endif
189
190 [LibraryClasses.common.UEFI_DRIVER]
191 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
192 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
195 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
196 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
197 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
198
199 [LibraryClasses.common.DXE_DRIVER]
200 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
201 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
202 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
203 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
204 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
205 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
206 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
207 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
208 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
209 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
210 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
211 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
212
213 [LibraryClasses.common.UEFI_APPLICATION]
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
216 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
217
218 ################################################################################
219 #
220 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
221 #
222 ################################################################################
223 [PcdsFeatureFlag]
224 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
226 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
227 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
228 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
229 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
230 !if $(SECURE_BOOT_ENABLE) == TRUE
231 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
232 !endif
233
234 [PcdsFixedAtBuild]
235 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
236 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
237 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
238 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
239 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
240 !if $(SECURE_BOOT_ENABLE) == TRUE
241 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
242 !else
243 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
244 !endif
245 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
246 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
247 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
248 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
249 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
250
251 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
252
253 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
254 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
255 !ifdef $(SOURCE_DEBUG_ENABLE)
256 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
257 !else
258 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
259 !endif
260
261 !if $(SECURE_BOOT_ENABLE) == TRUE
262 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
263 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
264 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
265 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
266 !endif
267
268 !ifdef $(SOURCE_DEBUG_ENABLE)
269 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
270 !endif
271
272 !if $(BUILD_NEW_SHELL)
273 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
274 !else
275 !if $(USE_NEW_SHELL)
276 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
277 !endif
278 !endif
279
280 ################################################################################
281 #
282 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
283 #
284 ################################################################################
285
286 [PcdsDynamicDefault]
287 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
288 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
289 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
290 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
291
292
293 ################################################################################
294 #
295 # Components Section - list of all EDK II Modules needed by this Platform.
296 #
297 ################################################################################
298 [Components]
299 #
300 # SEC Phase modules
301 #
302 OvmfPkg/Sec/SecMain.inf {
303 <LibraryClasses>
304 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
305 }
306
307 #
308 # PEI Phase modules
309 #
310 MdeModulePkg/Core/Pei/PeiMain.inf
311 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
312 <LibraryClasses>
313 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
314 }
315 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
316 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
317
318 OvmfPkg/PlatformPei/PlatformPei.inf {
319 <LibraryClasses>
320 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
321 }
322
323 #
324 # DXE Phase modules
325 #
326 MdeModulePkg/Core/Dxe/DxeMain.inf {
327 <LibraryClasses>
328 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
329 }
330
331 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
332 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
333 <LibraryClasses>
334 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
335 }
336
337 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
338
339 !if $(SECURE_BOOT_ENABLE) == TRUE
340 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
341 <LibraryClasses>
342 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
343 }
344 !else
345 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
346 !endif
347
348 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
349 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
350 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
351 UefiCpuPkg/CpuDxe/CpuDxe.inf
352 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
353 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
354 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
355 PcAtChipsetPkg/KbcResetDxe/Reset.inf
356 MdeModulePkg/Universal/Metronome/Metronome.inf {
357 <LibraryClasses>
358 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
359 }
360
361 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
362 <LibraryClasses>
363 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
364 }
365
366 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
367 <LibraryClasses>
368 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
369 !ifdef $(CSM_ENABLE)
370 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
371 !endif
372 }
373
374 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
375 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
376 <LibraryClasses>
377 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
378 }
379 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
380 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
381 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
382 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
383 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
384 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
385 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
386 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
387 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
388 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
389 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
390 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
391 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
392 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
393 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
394 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
395 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
396 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
397 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
398 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
399 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
400
401 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
402 <LibraryClasses>
403 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
404 }
405
406 #
407 # ISA Support
408 #
409 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
410 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
411 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
412 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
413 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
414
415 #
416 # SMBIOS Support
417 #
418 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
419 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
420
421 #
422 # ACPI Support
423 #
424 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
425 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
426 OvmfPkg/AcpiTables/AcpiTables.inf
427
428 #
429 # Network Support
430 #
431 !if $(NETWORK_ENABLE)
432 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
433 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
434 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
435 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
436 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
437 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
438 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
439 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
440 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
441 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
442 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
443 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
444 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
445 !endif
446
447 #
448 # Usb Support
449 #
450 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
451 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
452 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
453 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
454 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
455
456 !ifdef $(CSM_ENABLE)
457 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
458 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
459 OvmfPkg/Csm/Csm16/Csm16.inf
460 !endif
461
462 !if $(BUILD_NEW_SHELL)
463 ShellPkg/Application/Shell/Shell.inf {
464 <LibraryClasses>
465 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
466 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
467 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
468 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
469 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
470 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
471 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
472 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
473 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
474 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
475 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
476 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
477 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
478 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
479 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
480 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
481
482 <PcdsFixedAtBuild>
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
484 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
485 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
486 }
487 !endif
488
489 !if $(SECURE_BOOT_ENABLE) == TRUE
490 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
491 <LibraryClasses>
492 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
493 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
494 }
495 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
496 !endif