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