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