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