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