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