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