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