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