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