]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: Enable secure-boot support when SECURE_BOOT_ENABLE==TRUE
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2011, 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
98 !ifdef $(SOURCE_DEBUG_ENABLE)
99 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
100 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
101 !else
102 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
103 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
104 !endif
105
106 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
107 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
108 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
109
110 !if $(SECURE_BOOT_ENABLE) == TRUE
111 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
112 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
113 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
114 !endif
115
116 [LibraryClasses.common]
117 !if $(SECURE_BOOT_ENABLE) == TRUE
118 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
119 !endif
120
121 [LibraryClasses.common.SEC]
122 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
123 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
124 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
125 !ifdef $(SOURCE_DEBUG_ENABLE)
126 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
127 !endif
128 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
129 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
130 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
131 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
132
133 [LibraryClasses.common.PEI_CORE]
134 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
135 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
136 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
137 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
138 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
139 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
140 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
141 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
142 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
143 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
144
145 [LibraryClasses.common.PEIM]
146 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
147 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
148 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
149 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
150 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
151 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
152 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
154 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
155 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
156 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
157 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
158 !ifdef $(SOURCE_DEBUG_ENABLE)
159 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
160 !endif
161
162 [LibraryClasses.common.DXE_CORE]
163 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
164 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
165 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
166 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
167 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
168 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
169 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
170 !ifdef $(SOURCE_DEBUG_ENABLE)
171 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
172 !endif
173
174 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
175 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
176 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
177 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
178 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
179 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
180 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
181 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
182 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
183 !if $(SECURE_BOOT_ENABLE) == TRUE
184 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
185 !endif
186
187 [LibraryClasses.common.UEFI_DRIVER]
188 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
189 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
190 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
191 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
192 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
193 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
194 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
195
196 [LibraryClasses.common.DXE_DRIVER]
197 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
198 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
199 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
200 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
201 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
202 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
203 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
204 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
205 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
206 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
207 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
208 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
209
210 [LibraryClasses.common.UEFI_APPLICATION]
211 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
214
215 ################################################################################
216 #
217 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
218 #
219 ################################################################################
220 [PcdsFeatureFlag]
221 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
222 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
223 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
224 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
226 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
227 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
228 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|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 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
343 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.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 !endif