]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
NetworkPkg: Update cache management in HTTP boot driver.
[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 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|TRUE\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.PcdSetNxForStack|TRUE\r
317 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
318 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
319 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
320 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
321 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
322 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
323 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
324 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
325\r
326 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
327\r
328 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
329 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
330!ifdef $(SOURCE_DEBUG_ENABLE)\r
331 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
332!else\r
333 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
334!endif\r
335\r
336!ifdef $(SOURCE_DEBUG_ENABLE)\r
337 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
338!endif\r
339\r
340!ifndef $(USE_OLD_SHELL)\r
341 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
342!endif\r
343\r
344[PcdsFixedAtBuild.X64]\r
345!if $(SECURE_BOOT_ENABLE) == TRUE\r
346 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
347 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
348 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
349 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
350!endif\r
351\r
352 # IRQs 5, 9, 10, 11 are level-triggered\r
353 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
354\r
355################################################################################\r
356#\r
357# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
358#\r
359################################################################################\r
360\r
361[PcdsDynamicDefault]\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
363 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
366 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
367 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
368 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
369 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
370\r
371 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
372\r
373 # Set video resolution for text setup.\r
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
376\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
378 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
379 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
380\r
381################################################################################\r
382#\r
383# Components Section - list of all EDK II Modules needed by this Platform.\r
384#\r
385################################################################################\r
386[Components.IA32]\r
387 OvmfPkg/ResetVector/ResetVector.inf\r
388\r
389 #\r
390 # SEC Phase modules\r
391 #\r
392 OvmfPkg/Sec/SecMain.inf {\r
393 <LibraryClasses>\r
394 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
395 }\r
396\r
397 #\r
398 # PEI Phase modules\r
399 #\r
400 MdeModulePkg/Core/Pei/PeiMain.inf\r
401 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
402 <LibraryClasses>\r
403 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
404 }\r
405 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
406 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
407\r
408 OvmfPkg/PlatformPei/PlatformPei.inf {\r
409 <LibraryClasses>\r
410 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
411 }\r
412 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
413 <LibraryClasses>\r
414 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
415 }\r
416\r
417[Components.X64]\r
418 #\r
419 # DXE Phase modules\r
420 #\r
421 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
422 <LibraryClasses>\r
423 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
424 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
425 }\r
426\r
427 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
428 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
429 <LibraryClasses>\r
430 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
431 }\r
432\r
433 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
434\r
435!if $(SECURE_BOOT_ENABLE) == TRUE\r
436 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
437 <LibraryClasses>\r
438 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
439 }\r
440!else\r
441 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
442!endif\r
443\r
444 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
445 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
446 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
447 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
448 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
449 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
450 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
451 <LibraryClasses>\r
452 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
453 }\r
454 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
455 MdeModulePkg/Universal/Metronome/Metronome.inf\r
456 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
457 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
458 <LibraryClasses>\r
459!ifdef $(CSM_ENABLE)\r
460 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
461!endif\r
462 }\r
463\r
464 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
465 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
466 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
467 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
468 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
469 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
470 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
471 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
472 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
473 <LibraryClasses>\r
474 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
475 }\r
476 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
477 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
478 <LibraryClasses>\r
479 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
480 }\r
481 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
482 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
483 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
484 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
485 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
486 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
487 <LibraryClasses>\r
488 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
489 }\r
490 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
491 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
492 <LibraryClasses>\r
493 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
494 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
495 }\r
496 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
497 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
498 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
499 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
500 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
501 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
502 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
503 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
504 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
505 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
506 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
507 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
508\r
509 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
510 <LibraryClasses>\r
511 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
512 }\r
513\r
514 #\r
515 # ISA Support\r
516 #\r
517 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
518 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
519 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
520 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
521 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
522\r
523 #\r
524 # SMBIOS Support\r
525 #\r
526 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
527 <LibraryClasses>\r
528 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
529 }\r
530 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
531\r
532 #\r
533 # ACPI Support\r
534 #\r
535 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
536 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
537 OvmfPkg/AcpiTables/AcpiTables.inf\r
538 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
539 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
540 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
541\r
542 #\r
543 # Network Support\r
544 #\r
545 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
546 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
547 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
548 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
549 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
550 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
551 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
552 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
553 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
554!if $(NETWORK_IP6_ENABLE) == TRUE\r
555 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
556 NetworkPkg/TcpDxe/TcpDxe.inf\r
557 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
558 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
559 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
560 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
561!if $(SECURE_BOOT_ENABLE) == TRUE\r
562 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
563!else\r
564 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
565!endif\r
566!else\r
567 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
568 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
569 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
570!endif\r
571!if $(HTTP_BOOT_ENABLE) == TRUE\r
572 NetworkPkg/DnsDxe/DnsDxe.inf\r
573 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
574 NetworkPkg/HttpDxe/HttpDxe.inf\r
575 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
576!endif\r
577 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
578\r
579 #\r
580 # Usb Support\r
581 #\r
582 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
583 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
584 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
585 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
586 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
587 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
588\r
589!ifdef $(CSM_ENABLE)\r
590 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
591 <LibraryClasses>\r
592 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
593 }\r
594 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
595 OvmfPkg/Csm/Csm16/Csm16.inf\r
596!endif\r
597\r
598!ifndef $(USE_OLD_SHELL)\r
599 ShellPkg/Application/Shell/Shell.inf {\r
600 <LibraryClasses>\r
601 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
602 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
603 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
604 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
605 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
606 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
607 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
608 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
609 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
610 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
611 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
612 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
613 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
614# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
615# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
616 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
617\r
618 <PcdsFixedAtBuild>\r
619 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
620 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
621 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
622 }\r
623!endif\r
624\r
625!if $(SECURE_BOOT_ENABLE) == TRUE\r
626 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
627!endif\r
628\r
629 OvmfPkg/PlatformDxe/Platform.inf\r