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