]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: make the 4MB flash size the default
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Ovmf\r
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
25 PLATFORM_VERSION = 0.1\r
26 DSC_SPECIFICATION = 0x00010005\r
27 OUTPUT_DIRECTORY = Build/OvmfIa32\r
28 SUPPORTED_ARCHITECTURES = IA32\r
29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf\r
32\r
33 #\r
34 # Defines for default states. These can be changed on the command line.\r
35 # -D FLAG=VALUE\r
36 #\r
37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
38 DEFINE NETWORK_IP6_ENABLE = FALSE\r
39 DEFINE HTTP_BOOT_ENABLE = FALSE\r
40 DEFINE SMM_REQUIRE = FALSE\r
41 DEFINE TLS_ENABLE = FALSE\r
42\r
43 #\r
44 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
45 # one of the supported values, in place of any of the convenience macros, is\r
46 # permitted.\r
47 #\r
48!ifdef $(FD_SIZE_1MB)\r
49 DEFINE FD_SIZE_IN_KB = 1024\r
50!else\r
51!ifdef $(FD_SIZE_2MB)\r
52 DEFINE FD_SIZE_IN_KB = 2048\r
53!else\r
54!ifdef $(FD_SIZE_4MB)\r
55 DEFINE FD_SIZE_IN_KB = 4096\r
56!else\r
57 DEFINE FD_SIZE_IN_KB = 4096\r
58!endif\r
59!endif\r
60!endif\r
61\r
62[BuildOptions]\r
63 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
64 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
65 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
66 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
67 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
68\r
69 #\r
70 # Disable deprecated APIs.\r
71 #\r
72 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
73 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
74 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
75\r
76[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
77 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
78\r
79# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
80# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
81[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
82 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
83\r
84################################################################################\r
85#\r
86# SKU Identification section - list of all SKU IDs supported by this Platform.\r
87#\r
88################################################################################\r
89[SkuIds]\r
90 0|DEFAULT\r
91\r
92################################################################################\r
93#\r
94# Library Class section - list of all Library Classes needed by this Platform.\r
95#\r
96################################################################################\r
97[LibraryClasses]\r
98 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
99 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
100 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
101 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
102 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
103 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
104 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
105 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
106 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
107 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
108 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
109 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
110 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
111 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
112 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
113 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
114 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
115 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
116 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
117 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
118 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
119 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
120 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
121 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
122 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
123 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
124 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
125 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
126 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
127 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
128 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
129 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
130 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
131 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
132 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
133 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
134 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
135 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
136 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
137 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
138 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
139 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
140 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
141 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
142 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
143 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
144 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
145 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
146!if $(SMM_REQUIRE) == FALSE\r
147 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
148!endif\r
149 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
150 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
151\r
152!ifdef $(SOURCE_DEBUG_ENABLE)\r
153 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
154 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
155!else\r
156 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
157 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
158!endif\r
159\r
160 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
161 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
162 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
163\r
164 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
165!if $(TLS_ENABLE) == TRUE\r
166 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
167!else\r
168 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
169!endif\r
170\r
171!if $(SECURE_BOOT_ENABLE) == TRUE\r
172 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
173 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
174 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
175!else\r
176 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
177 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
178!endif\r
179 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
180\r
181!if $(NETWORK_IP6_ENABLE) == TRUE\r
182 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
183!endif\r
184\r
185!if $(HTTP_BOOT_ENABLE) == TRUE\r
186 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
187!endif\r
188\r
189!if $(TLS_ENABLE) == TRUE\r
190 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
191!endif\r
192\r
193 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
194 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
195 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
196 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
197\r
198[LibraryClasses.common]\r
199 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
200\r
201[LibraryClasses.common.SEC]\r
202 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
203 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
204!ifdef $(DEBUG_ON_SERIAL_PORT)\r
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
206!else\r
207 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
208!endif\r
209 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
210 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
211!ifdef $(SOURCE_DEBUG_ENABLE)\r
212 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
213!endif\r
214 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
215 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
216 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
217 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
218 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
219\r
220[LibraryClasses.common.PEI_CORE]\r
221 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
222 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
223 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
224 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
225 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
226 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
227 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
228 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
229!ifdef $(DEBUG_ON_SERIAL_PORT)\r
230 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
231!else\r
232 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
233!endif\r
234 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
235\r
236[LibraryClasses.common.PEIM]\r
237 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
238 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
239 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
240 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
241 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
242 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
243 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
244 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
245!ifdef $(DEBUG_ON_SERIAL_PORT)\r
246 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
247!else\r
248 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
249!endif\r
250 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
251 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
252 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
253!ifdef $(SOURCE_DEBUG_ENABLE)\r
254 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
255!endif\r
256 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
257 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
258 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
259\r
260[LibraryClasses.common.DXE_CORE]\r
261 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
262 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
263 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
264 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
265!ifdef $(DEBUG_ON_SERIAL_PORT)\r
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
267!else\r
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
269!endif\r
270 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
271!ifdef $(SOURCE_DEBUG_ENABLE)\r
272 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
273!endif\r
274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
275 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
276\r
277[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
278 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
279 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
280 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
281 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
282 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
283 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.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 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
290 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
291 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
292 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
293\r
294[LibraryClasses.common.UEFI_DRIVER]\r
295 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
296 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
297 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
298 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
299 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
300 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
301!ifdef $(DEBUG_ON_SERIAL_PORT)\r
302 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
303!else\r
304 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
305!endif\r
306 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
307 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
308\r
309[LibraryClasses.common.DXE_DRIVER]\r
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
311 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
312 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
313 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
314 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
315 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
316!ifdef $(DEBUG_ON_SERIAL_PORT)\r
317 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
318!else\r
319 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
320!endif\r
321 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
322 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
323 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
324 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
325 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
326 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
327 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
328!if $(SMM_REQUIRE) == TRUE\r
329 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
330!else\r
331 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
332!endif\r
333!ifdef $(SOURCE_DEBUG_ENABLE)\r
334 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
335!endif\r
336 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
337 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
338 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
339\r
340[LibraryClasses.common.UEFI_APPLICATION]\r
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
342 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
345 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
346!ifdef $(DEBUG_ON_SERIAL_PORT)\r
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
348!else\r
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
350!endif\r
351 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
352\r
353[LibraryClasses.common.DXE_SMM_DRIVER]\r
354 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
355 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
356 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
357 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
358 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
359 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
360 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
361!ifdef $(DEBUG_ON_SERIAL_PORT)\r
362 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
363!else\r
364 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
365!endif\r
366 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
367!ifdef $(SOURCE_DEBUG_ENABLE)\r
368 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
369!endif\r
370 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
371 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
372\r
373[LibraryClasses.common.SMM_CORE]\r
374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
375 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
376 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
377 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
378 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
379 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
380 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
381 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
382!ifdef $(DEBUG_ON_SERIAL_PORT)\r
383 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
384!else\r
385 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
386!endif\r
387 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
388\r
389################################################################################\r
390#\r
391# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
392#\r
393################################################################################\r
394[PcdsFeatureFlag]\r
395 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
396 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
397 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
398 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
399 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
400 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
401 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
402 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
403!if $(SECURE_BOOT_ENABLE) == TRUE\r
404 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
405!endif\r
406!if $(SMM_REQUIRE) == TRUE\r
407 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
408 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
409!endif\r
410\r
411[PcdsFixedAtBuild]\r
412 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
413 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
414 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
415 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
416 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
417!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
418 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
419 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
420!endif\r
421!if $(FD_SIZE_IN_KB) == 4096\r
422 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
423 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
424!endif\r
425 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
426\r
427 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
428\r
429 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
430\r
431 # DEBUG_INIT 0x00000001 // Initialization\r
432 # DEBUG_WARN 0x00000002 // Warnings\r
433 # DEBUG_LOAD 0x00000004 // Load events\r
434 # DEBUG_FS 0x00000008 // EFI File system\r
435 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
436 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
437 # DEBUG_INFO 0x00000040 // Informational debug messages\r
438 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
439 # DEBUG_VARIABLE 0x00000100 // Variable\r
440 # DEBUG_BM 0x00000400 // Boot Manager\r
441 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
442 # DEBUG_NET 0x00004000 // SNP Driver\r
443 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
444 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
445 # DEBUG_EVENT 0x00080000 // Event messages\r
446 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
447 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
448 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
449 # // significantly impact boot performance\r
450 # DEBUG_ERROR 0x80000000 // Error\r
451 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
452\r
453!ifdef $(SOURCE_DEBUG_ENABLE)\r
454 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
455!else\r
456 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
457!endif\r
458\r
459 # This PCD is used to set the base address of the PCI express hierarchy. It\r
460 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
461 # the PCIEXBAR register.\r
462 #\r
463 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
464 # never lets the RAM below 4 GB exceed 2 GB.\r
465 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
466\r
467!ifdef $(SOURCE_DEBUG_ENABLE)\r
468 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
469!endif\r
470\r
471!if $(HTTP_BOOT_ENABLE) == TRUE\r
472 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
473!endif\r
474\r
475!ifndef $(USE_OLD_SHELL)\r
476 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
477!endif\r
478\r
479!if $(SMM_REQUIRE) == TRUE\r
480 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
481!endif\r
482\r
483!if $(SECURE_BOOT_ENABLE) == TRUE\r
484 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
485!endif\r
486\r
487 # IRQs 5, 9, 10, 11 are level-triggered\r
488 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
489\r
490 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
491 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
492\r
493################################################################################\r
494#\r
495# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
496#\r
497################################################################################\r
498\r
499[PcdsDynamicDefault]\r
500 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
501 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
502 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
503 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
504 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
506 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
507 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
508 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
509 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
510 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
511 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
512 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
513\r
514 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
515\r
516 # Set video resolution for text setup.\r
517 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
518 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
519\r
520 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
521 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
522 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
523\r
524 # Noexec settings for DXE.\r
525 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
527\r
528 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
529 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
530 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
531\r
532!if $(SMM_REQUIRE) == TRUE\r
533 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
534 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
535!endif\r
536\r
537################################################################################\r
538#\r
539# Components Section - list of all EDK II Modules needed by this Platform.\r
540#\r
541################################################################################\r
542[Components]\r
543 OvmfPkg/ResetVector/ResetVector.inf\r
544\r
545 #\r
546 # SEC Phase modules\r
547 #\r
548 OvmfPkg/Sec/SecMain.inf {\r
549 <LibraryClasses>\r
550 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
551 }\r
552\r
553 #\r
554 # PEI Phase modules\r
555 #\r
556 MdeModulePkg/Core/Pei/PeiMain.inf\r
557 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
558 <LibraryClasses>\r
559 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
560 }\r
561 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
562 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
563 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
564 <LibraryClasses>\r
565 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
566 }\r
567\r
568 OvmfPkg/PlatformPei/PlatformPei.inf {\r
569 <LibraryClasses>\r
570 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
571 }\r
572 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
573 <LibraryClasses>\r
574 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
575!if $(SMM_REQUIRE) == TRUE\r
576 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
577!endif\r
578 }\r
579!if $(SMM_REQUIRE) == TRUE\r
580 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
581 <LibraryClasses>\r
582 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
583 }\r
584!endif\r
585 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {\r
586 <LibraryClasses>\r
587 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
588 }\r
589\r
590 #\r
591 # DXE Phase modules\r
592 #\r
593 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
594 <LibraryClasses>\r
595 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
596 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
597 }\r
598\r
599 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
600 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
601 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
602 <LibraryClasses>\r
603 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
604 }\r
605\r
606 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
607\r
608!if $(SECURE_BOOT_ENABLE) == TRUE\r
609 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
610 <LibraryClasses>\r
611 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
612 }\r
613!else\r
614 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
615!endif\r
616\r
617 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
618 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
619 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
620 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
621 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
622 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
623 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
624 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
625 <LibraryClasses>\r
626 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
627 }\r
628 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
629 <LibraryClasses>\r
630 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
631 }\r
632 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
633 MdeModulePkg/Universal/Metronome/Metronome.inf\r
634 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
635 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
636 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
637 <LibraryClasses>\r
638!ifdef $(CSM_ENABLE)\r
639 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
640 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
641!endif\r
642 }\r
643 MdeModulePkg/Logo/LogoDxe.inf\r
644 MdeModulePkg/Application/UiApp/UiApp.inf {\r
645 <LibraryClasses>\r
646 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
647 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
648 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
649!ifdef $(CSM_ENABLE)\r
650 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
651 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
652!endif\r
653 }\r
654 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
655 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
656 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
657 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
658 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
659 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
660 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
661 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
662 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
663 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
664 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
665 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
666 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
667 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
668 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
669 <LibraryClasses>\r
670 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
671 }\r
672 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
673 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
674 <LibraryClasses>\r
675 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
676 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
677 }\r
678 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
679 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
680 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
681 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
682 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
683 FatPkg/EnhancedFatDxe/Fat.inf\r
684 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
685 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
686 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
687 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
688 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
689 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
690 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
691 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
692 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
693 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
694\r
695 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
696 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
697\r
698 #\r
699 # ISA Support\r
700 #\r
701 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
702 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
703 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
704 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
705 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
706\r
707 #\r
708 # SMBIOS Support\r
709 #\r
710 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
711 <LibraryClasses>\r
712 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
713 }\r
714 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
715\r
716 #\r
717 # ACPI Support\r
718 #\r
719 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
720 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
721 OvmfPkg/AcpiTables/AcpiTables.inf\r
722 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
723 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
724 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
725\r
726 #\r
727 # Network Support\r
728 #\r
729 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
730 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
731 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
732 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
733 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
734 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
735 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
736 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
737 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
738!if $(NETWORK_IP6_ENABLE) == TRUE\r
739 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
740 NetworkPkg/TcpDxe/TcpDxe.inf\r
741 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
742 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
743 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
744 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
745 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
746!else\r
747 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
748 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
749 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
750!endif\r
751!if $(HTTP_BOOT_ENABLE) == TRUE\r
752 NetworkPkg/DnsDxe/DnsDxe.inf\r
753 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
754 NetworkPkg/HttpDxe/HttpDxe.inf\r
755 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
756!endif\r
757!if $(TLS_ENABLE) == TRUE\r
758 NetworkPkg/TlsDxe/TlsDxe.inf\r
759 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
760!endif\r
761 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
762\r
763 #\r
764 # Usb Support\r
765 #\r
766 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
767 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
768 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
769 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
770 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
771 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
772\r
773!ifdef $(CSM_ENABLE)\r
774 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
775 <LibraryClasses>\r
776 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
777 }\r
778 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
779 OvmfPkg/Csm/Csm16/Csm16.inf\r
780!endif\r
781\r
782!ifndef $(USE_OLD_SHELL)\r
783 ShellPkg/Application/Shell/Shell.inf {\r
784 <LibraryClasses>\r
785 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
786 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
787 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
788 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
789 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
790 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
791 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
792 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
793!if $(NETWORK_IP6_ENABLE) == TRUE\r
794 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
795!endif\r
796 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
797 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
798 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
799 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
800 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
801# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
802# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
803 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
804\r
805 <PcdsFixedAtBuild>\r
806 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
807 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
808 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
809 }\r
810!endif\r
811\r
812!if $(SECURE_BOOT_ENABLE) == TRUE\r
813 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
814!endif\r
815\r
816 OvmfPkg/PlatformDxe/Platform.inf\r
817\r
818!if $(SMM_REQUIRE) == TRUE\r
819 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
820 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
821 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
822\r
823 #\r
824 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
825 #\r
826 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
827\r
828 #\r
829 # SMM_CORE\r
830 #\r
831 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
832\r
833 #\r
834 # Privileged drivers (DXE_SMM_DRIVER modules)\r
835 #\r
836 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
837 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
838 <LibraryClasses>\r
839 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
840 }\r
841 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
842 <LibraryClasses>\r
843 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
844 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
845 }\r
846\r
847 #\r
848 # Variable driver stack (SMM)\r
849 #\r
850 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
851 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
852 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
853 <LibraryClasses>\r
854 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
855 }\r
856 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
857\r
858!else\r
859\r
860 #\r
861 # Variable driver stack (non-SMM)\r
862 #\r
863 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
864 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
865 <LibraryClasses>\r
866 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
867 }\r
868 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
869 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
870 <LibraryClasses>\r
871 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
872 }\r
873!endif\r