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