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