]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: Add CsmSupportLib
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
31
32 [BuildOptions]
33 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
34 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
35 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
36 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
37
38 ################################################################################
39 #
40 # SKU Identification section - list of all SKU IDs supported by this Platform.
41 #
42 ################################################################################
43 [SkuIds]
44 0|DEFAULT
45
46 ################################################################################
47 #
48 # Library Class section - list of all Library Classes needed by this Platform.
49 #
50 ################################################################################
51 [LibraryClasses]
52 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
54 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
55 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
56 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
57 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
58 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
59 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
60 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
61 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
62 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
63 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
64 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
65 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
66 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
67 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
68 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
69 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
70 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
71 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
72 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
73 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
74 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
75 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
76 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
77 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
78 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
79 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
80 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
81 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
82 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
83 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
84 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
85 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
86 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
87 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
88 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
89 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
90 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
91 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
92
93 !ifdef $(SOURCE_DEBUG_ENABLE)
94 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
95 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
96 !else
97 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
98 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
99 !endif
100
101 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
102 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
103 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
104
105 [LibraryClasses.common.SEC]
106 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
107 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
108 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
109 !ifdef $(SOURCE_DEBUG_ENABLE)
110 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
111 !endif
112 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
113 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
114 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
115 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
116
117 [LibraryClasses.common.PEI_CORE]
118 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
119 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
120 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
121 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
122 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
123 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
124 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
125 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
126 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
127 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
128
129 [LibraryClasses.common.PEIM]
130 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
131 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
132 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
133 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
134 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
135 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
136 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
137 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
138 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
139 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
140 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
141 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
142 !ifdef $(SOURCE_DEBUG_ENABLE)
143 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
144 !endif
145
146 [LibraryClasses.common.DXE_CORE]
147 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
148 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
149 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
151 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
152 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
153 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
154 !ifdef $(SOURCE_DEBUG_ENABLE)
155 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
156 !endif
157
158 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
159 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
160 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
161 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
162 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
163 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
164 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
165 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
166 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
167
168 [LibraryClasses.common.UEFI_DRIVER]
169 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
170 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
171 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
173 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
175 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
176
177 [LibraryClasses.common.DXE_DRIVER]
178 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
179 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
180 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
181 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
182 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
183 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
184 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
185 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
186 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
187 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
188 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
189 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
190
191 [LibraryClasses.common.UEFI_APPLICATION]
192 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195
196 ################################################################################
197 #
198 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
199 #
200 ################################################################################
201 [PcdsFeatureFlag]
202 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
203 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
204 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
205 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
206 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
207 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
208 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
209 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
210
211 [PcdsFixedAtBuild]
212 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
213 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
214 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
215 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
216 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
217 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
218 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
219 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
220 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
221 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
222 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
223
224 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
225
226 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
227 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
228 !ifdef $(SOURCE_DEBUG_ENABLE)
229 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
230 !else
231 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
232 !endif
233
234 !ifdef $(SOURCE_DEBUG_ENABLE)
235 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
236 !endif
237
238 !if $(BUILD_NEW_SHELL)
239 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
240 !else
241 !if $(USE_NEW_SHELL)
242 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
243 !endif
244 !endif
245
246 ################################################################################
247 #
248 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
249 #
250 ################################################################################
251
252 [PcdsDynamicDefault]
253 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
254 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
255 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
256 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
257
258
259 ################################################################################
260 #
261 # Components Section - list of all EDK II Modules needed by this Platform.
262 #
263 ################################################################################
264 [Components]
265 #
266 # SEC Phase modules
267 #
268 OvmfPkg/Sec/SecMain.inf {
269 <LibraryClasses>
270 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
271 }
272
273 #
274 # PEI Phase modules
275 #
276 MdeModulePkg/Core/Pei/PeiMain.inf
277 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
278 <LibraryClasses>
279 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
280 }
281 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
282 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
283
284 OvmfPkg/PlatformPei/PlatformPei.inf {
285 <LibraryClasses>
286 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
287 }
288
289 #
290 # DXE Phase modules
291 #
292 MdeModulePkg/Core/Dxe/DxeMain.inf {
293 <LibraryClasses>
294 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
295 }
296
297 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
298 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
299 <LibraryClasses>
300 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
301 }
302
303 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
304 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
305 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
306 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
307 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
308 UefiCpuPkg/CpuDxe/CpuDxe.inf
309 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
310 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
311 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
312 PcAtChipsetPkg/KbcResetDxe/Reset.inf
313 MdeModulePkg/Universal/Metronome/Metronome.inf {
314 <LibraryClasses>
315 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
316 }
317
318 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
319 <LibraryClasses>
320 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
321 }
322
323 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
324 <LibraryClasses>
325 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
326 !ifdef $(CSM_ENABLE)
327 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
328 !endif
329 }
330
331 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
332 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
333 <LibraryClasses>
334 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
335 }
336 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
337 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
338 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
339 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
340 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
341 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
342 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
343 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
344 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
345 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
346 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
347 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
348 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
349 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
350 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
351 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
352 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
353 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
354 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
355 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
356 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
357
358 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
359 <LibraryClasses>
360 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
361 }
362
363 #
364 # ISA Support
365 #
366 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
367 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
368 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
369 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
370 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
371
372 #
373 # SMBIOS Support
374 #
375 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
376 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
377
378 #
379 # ACPI Support
380 #
381 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
382 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
383 OvmfPkg/AcpiTables/AcpiTables.inf
384
385 #
386 # Network Support
387 #
388 !if $(NETWORK_ENABLE)
389 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
390 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
391 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
392 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
393 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
394 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
395 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
396 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
397 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
398 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
399 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
400 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
401 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
402 !endif
403
404 #
405 # Usb Support
406 #
407 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
408 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
409 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
410 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
411 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
412
413 !if $(BUILD_NEW_SHELL)
414 ShellPkg/Application/Shell/Shell.inf {
415 <LibraryClasses>
416 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
417 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
418 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
419 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
420 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
421 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
422 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
423 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
424 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
425 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
426 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
427 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
428 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
429 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
430 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
431 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
432
433 <PcdsFixedAtBuild>
434 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
435 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
436 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
437 }
438 !endif
439