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