]> git.proxmox.com Git - mirror_edk2.git/blob - UefiPayloadPkg/UefiPayloadPkg.dsc
OvmfPkg/PlatformPei: set PcdConfidentialComputingAttr when SEV is active
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadPkg.dsc
1 ## @file
2 # Bootloader Payload Package
3 #
4 # Provides drivers and definitions to create uefi payload for bootloaders.
5 #
6 # Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
7 # Copyright (c) Microsoft Corporation.
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 ################################################################################
13 #
14 # Defines Section - statements that will be processed to create a Makefile.
15 #
16 ################################################################################
17 [Defines]
18 PLATFORM_NAME = UefiPayloadPkg
19 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 SUPPORTED_ARCHITECTURES = IA32|X64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25 OUTPUT_DIRECTORY = Build/UefiPayloadPkgX64
26 FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf
27 PCD_DYNAMIC_AS_DYNAMICEX = TRUE
28
29 DEFINE SOURCE_DEBUG_ENABLE = FALSE
30 DEFINE PS2_KEYBOARD_ENABLE = FALSE
31 DEFINE RAM_DISK_ENABLE = FALSE
32 DEFINE SIO_BUS_ENABLE = FALSE
33 DEFINE UNIVERSAL_PAYLOAD = FALSE
34 DEFINE SECURITY_STUB_ENABLE = TRUE
35 DEFINE SMM_SUPPORT = FALSE
36 #
37 # SBL: UEFI payload for Slim Bootloader
38 # COREBOOT: UEFI payload for coreboot
39 #
40 DEFINE BOOTLOADER = SBL
41
42 #
43 # CPU options
44 #
45 DEFINE MAX_LOGICAL_PROCESSORS = 256
46
47 #
48 # PCI options
49 #
50 DEFINE PCIE_BASE_SUPPORT = TRUE
51
52 #
53 # Serial port set up
54 #
55 DEFINE BAUD_RATE = 115200
56 DEFINE SERIAL_CLOCK_RATE = 1843200
57 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
58 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
59 DEFINE SERIAL_DETECT_CABLE = FALSE
60 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
61 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16
62 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
63 DEFINE UART_DEFAULT_DATA_BITS = 8
64 DEFINE UART_DEFAULT_PARITY = 1
65 DEFINE UART_DEFAULT_STOP_BITS = 1
66 DEFINE DEFAULT_TERMINAL_TYPE = 0
67
68 # Enabling the serial terminal will slow down the boot menu redering!
69 DEFINE DISABLE_SERIAL_TERMINAL = FALSE
70
71 #
72 # typedef struct {
73 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
74 # UINT16 DeviceId; ///< Device ID to match the PCI device
75 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
76 # UINT64 Offset; ///< The byte offset into to the BAR
77 # UINT8 BarIndex; ///< Which BAR to get the UART base address
78 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
79 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
80 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
81 # UINT8 Reserved[2];
82 # } PCI_SERIAL_PARAMETER;
83 #
84 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
85 #
86 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
87 DEFINE PCI_SERIAL_PARAMETERS = {0xff,0xff, 0x00,0x00, 0x0,0x20,0x1c,0x00, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x01, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
88
89 #
90 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]
91 #
92 DEFINE SHELL_TYPE = BUILD_SHELL
93
94 #
95 # EMU: UEFI payload with EMU variable
96 # SPI: UEFI payload with SPI NV variable support
97 # NONE: UEFI payload with no variable modules
98 #
99 DEFINE VARIABLE_SUPPORT = EMU
100
101 DEFINE DISABLE_RESET_SYSTEM = FALSE
102 DEFINE NETWORK_DRIVER_ENABLE = FALSE
103
104 # Dfine the maximum size of the capsule image without a reset flag that the platform can support.
105 DEFINE MAX_SIZE_NON_POPULATE_CAPSULE = 0xa00000
106
107 # Define RTC related register.
108 DEFINE RTC_INDEX_REGISTER = 0x70
109 DEFINE RTC_TARGET_REGISTER = 0x71
110
111 DEFINE SERIAL_DRIVER_ENABLE = TRUE
112 DEFINE PERFORMANCE_MEASUREMENT_ENABLE = FALSE
113
114 [BuildOptions]
115 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
116 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
117 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
118 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
119 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
120
121 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
122 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
123 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
124 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
125 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
126 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
127
128 ################################################################################
129 #
130 # SKU Identification section - list of all SKU IDs supported by this Platform.
131 #
132 ################################################################################
133 [SkuIds]
134 0|DEFAULT
135
136 ################################################################################
137 #
138 # Library Class section - list of all Library Classes needed by this Platform.
139 #
140 ################################################################################
141
142 !include MdePkg/MdeLibs.dsc.inc
143
144 [LibraryClasses]
145 #
146 # Entry point
147 #
148 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
149 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
150 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
151
152 #
153 # Basic
154 #
155 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
156 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
157 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
158 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
159 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
160 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
161 !if $(PCIE_BASE_SUPPORT) == FALSE
162 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
163 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
164 !else
165 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
166 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
167 !endif
168 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
169 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
170 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
171 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
172 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
173 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
174 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf
175 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
176 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
177 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
178 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
179 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
180 HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf
181
182 #
183 # UEFI & PI
184 #
185 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
186 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
187 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
188 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
189 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
190 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
191 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
192 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
193 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
194 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
195 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
196 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
197
198 #
199 # Generic Modules
200 #
201 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
202 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
203 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
204 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
205 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
206 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
207 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
208 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
209
210 #
211 # CPU
212 #
213 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
214 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
215 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
216
217 #
218 # Platform
219 #
220 !if $(UNIVERSAL_PAYLOAD) == TRUE
221 TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
222 !else
223 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
224 !endif
225 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
226 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
227 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
228 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
229 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
230
231 #
232 # Misc
233 #
234 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
235 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
236 !if $(SOURCE_DEBUG_ENABLE) == TRUE
237 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
238 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
239 !else
240 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
241 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
242 !endif
243 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
244 !if $(UNIVERSAL_PAYLOAD) == FALSE
245 !if $(BOOTLOADER) == "COREBOOT"
246 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
247 !else
248 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
249 !endif
250 !endif
251
252 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
253 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
254 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
255 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
256 !if $(VARIABLE_SUPPORT) == "EMU"
257 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
258 !elseif $(VARIABLE_SUPPORT) == "SPI"
259 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
260 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
261 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
262 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
263 !endif
264 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
265 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
266 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
267 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
268
269 [LibraryClasses.common.SEC]
270 HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf
271 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
272 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
273
274 [LibraryClasses.common.DXE_CORE]
275 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
276 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
277 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
278 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
279 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
280 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
281 !if $(SOURCE_DEBUG_ENABLE)
282 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
283 !endif
284 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
285 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
286 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
287 !endif
288
289 [LibraryClasses.common.DXE_DRIVER]
290 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
291 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
292 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
293 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
294 !if $(SOURCE_DEBUG_ENABLE)
295 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
296 !endif
297 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
298 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
299 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
300 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
301 !endif
302
303 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
304 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
305 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
307 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
308 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
309 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
310 !endif
311
312 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
314 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
316 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
317 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
318 !endif
319
320 [LibraryClasses.common.SMM_CORE]
321 !if $(SMM_SUPPORT) == TRUE
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
324
325 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
326 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
327 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
328 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
329 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
330 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
331 !endif
332 !endif
333
334 [LibraryClasses.common.DXE_SMM_DRIVER]
335 !if $(SMM_SUPPORT) == TRUE
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337
338 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
339 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
340 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
341 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
343 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
344 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
345 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
346 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
347 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
348 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
349 !endif
350 !endif
351 !if $(VARIABLE_SUPPORT) == "SPI"
352 SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf
353 FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf
354 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
355 !endif
356
357 ################################################################################
358 #
359 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
360 #
361 ################################################################################
362 [PcdsFeatureFlag]
363 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
364 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
365 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
366 ## This PCD specified whether ACPI SDT protocol is installed.
367 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
368 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
369 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE
370 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
371
372 [PcdsFixedAtBuild]
373 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
374 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
375 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
376 !if $(VARIABLE_SUPPORT) == "EMU"
377 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE
378 !else
379 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE
380 !endif
381
382 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
383 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
384 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
385
386 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }
387
388 !if $(SOURCE_DEBUG_ENABLE)
389 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
390 !endif
391 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
392 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE
393 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
394 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1
395 !endif
396
397 [PcdsPatchableInModule.X64]
398 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)
399 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)
400 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
401
402 [PcdsPatchableInModule.common]
403 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
404 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
405 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
406 !if $(SOURCE_DEBUG_ENABLE)
407 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
408 !else
409 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
410 !endif
411 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)
412 #
413 # The following parameters are set by Library/PlatformHookLib
414 #
415 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
416 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
417 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
418 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
419
420 #
421 # Enable these parameters to be set on the command line
422 #
423 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
424 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
425 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
426 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
427 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
428 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
429
430 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
431
432 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
433 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0
434 gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0
435
436 ################################################################################
437 #
438 # Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform
439 #
440 ################################################################################
441
442 [PcdsDynamicExDefault]
443 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
444 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
445 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
446 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
447 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
448 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport
450 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport
451 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize
452 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds
453 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode
454 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress
455 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize
456 !if $(TARGET) == DEBUG
457 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
458 !else
459 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
460 !endif
461 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
462 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
463 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
464 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
465 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
466 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
467 !if $(VARIABLE_SUPPORT) == "SPI"
468 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0
469 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0
470 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0
471 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0
472 !endif
473 # Disable SMM S3 script
474 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
475
476 ## This PCD defines the video horizontal resolution.
477 # This PCD could be set to 0 then video resolution could be at highest resolution.
478 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
479 ## This PCD defines the video vertical resolution.
480 # This PCD could be set to 0 then video resolution could be at highest resolution.
481 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
482
483 ## The PCD is used to specify the video horizontal resolution of text setup.
484 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
485 ## The PCD is used to specify the video vertical resolution of text setup.
486 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
487
488 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
489 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
490 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
491 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
492 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
493 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE
494 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
495 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
496
497 ################################################################################
498 #
499 # Components Section - list of all EDK II Modules needed by this Platform.
500 #
501 ################################################################################
502
503 !if "IA32" in "$(ARCH)"
504 [Components.IA32]
505 !if $(UNIVERSAL_PAYLOAD) == TRUE
506 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
507 !else
508 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
509 !endif
510 !else
511 [Components.X64]
512 !if $(UNIVERSAL_PAYLOAD) == TRUE
513 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
514 !else
515 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
516 !endif
517 !endif
518
519 #
520 # UEFI network modules
521 #
522 !if $(NETWORK_DRIVER_ENABLE) == TRUE
523 !include NetworkPkg/Network.dsc.inc
524 !endif
525
526 [Components.X64]
527 #
528 # DXE Core
529 #
530 MdeModulePkg/Core/Dxe/DxeMain.inf {
531 <LibraryClasses>
532 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
533 }
534
535 #
536 # Components that produce the architectural protocols
537 #
538 !if $(SECURITY_STUB_ENABLE) == TRUE
539 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
540 !endif
541 UefiCpuPkg/CpuDxe/CpuDxe.inf
542 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
543 MdeModulePkg/Application/UiApp/UiApp.inf {
544 <LibraryClasses>
545 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
546 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
547 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
548 }
549 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
550 <LibraryClasses>
551 NULL|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
552 }
553 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
554 MdeModulePkg/Universal/Metronome/Metronome.inf
555 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
556 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
557 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
558 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
559 !if $(DISABLE_RESET_SYSTEM) == FALSE
560 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
561 !endif
562 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
563 !if $(EMU_VARIABLE_ENABLE) == TRUE
564 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
565 !endif
566 #
567 # Following are the DXE drivers
568 #
569 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
570 <LibraryClasses>
571 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
572 }
573
574 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
575 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
576 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
577 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
578 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
579 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
580 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
581 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
582 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
583 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
584
585 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
586
587 #
588 # SMBIOS Support
589 #
590 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
591
592 #
593 # ACPI Support
594 #
595 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
596
597 #
598 # PCI Support
599 #
600 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
601 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
602 <LibraryClasses>
603 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
604 }
605
606 #
607 # SCSI/ATA/IDE/DISK Support
608 #
609 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
610 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
611 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
612 FatPkg/EnhancedFatDxe/Fat.inf
613 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
614 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
615 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
616 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
617 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
618 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
619
620 !if $(RAM_DISK_ENABLE) == TRUE
621 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
622 !endif
623 #
624 # SD/eMMC Support
625 #
626 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
627 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
628 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
629
630 #
631 # Usb Support
632 #
633 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
634 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
635 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
636 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
637 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
638 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
639 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
640
641 #
642 # ISA Support
643 #
644 !if $(SERIAL_DRIVER_ENABLE) == TRUE
645 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
646 !endif
647 !if $(SIO_BUS_ENABLE) == TRUE
648 OvmfPkg/SioBusDxe/SioBusDxe.inf
649 !endif
650 !if $(PS2_KEYBOARD_ENABLE) == TRUE
651 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
652 !endif
653 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
654
655 #
656 # Console Support
657 #
658 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
659 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
660 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
661 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
662 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
663 !endif
664 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
665 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
666 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
667 !endif
668 #
669 # SMM Support
670 #
671 !if $(SMM_SUPPORT) == TRUE
672 UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf
673 UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf
674 UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf
675 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
676 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
677 UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf
678 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
679 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
680 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
681 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf
682 !endif
683 !endif
684
685 !if $(VARIABLE_SUPPORT) == "EMU"
686 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
687 !elseif $(VARIABLE_SUPPORT) == "SPI"
688 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
689 <LibraryClasses>
690 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
691 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
692 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf
693 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
694 }
695
696 UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf
697 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
698 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
699 !endif
700
701 #------------------------------
702 # Build the shell
703 #------------------------------
704
705 !if $(SHELL_TYPE) == BUILD_SHELL
706
707 #
708 # Shell Lib
709 #
710 [LibraryClasses]
711 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
712 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
713 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
714 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
715 !include NetworkPkg/NetworkLibs.dsc.inc
716
717 [Components.X64]
718 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
719 <PcdsFixedAtBuild>
720 ## This flag is used to control initialization of the shell library
721 # This should be FALSE for compiling the dynamic command.
722 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
723 }
724 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
725 <PcdsFixedAtBuild>
726 ## This flag is used to control initialization of the shell library
727 # This should be FALSE for compiling the dynamic command.
728 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
729 }
730 ShellPkg/Application/Shell/Shell.inf {
731 <PcdsFixedAtBuild>
732 ## This flag is used to control initialization of the shell library
733 # This should be FALSE for compiling the shell application itself only.
734 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
735
736 #------------------------------
737 # Basic commands
738 #------------------------------
739
740 <LibraryClasses>
741 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
742 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
743 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
744 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
745 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
746 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
747
748 #------------------------------
749 # Networking commands
750 #------------------------------
751
752 <LibraryClasses>
753 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
754
755 #------------------------------
756 # Support libraries
757 #------------------------------
758
759 <LibraryClasses>
760 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
761 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
762 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
763 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
764 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
765 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
766 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
767 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
768 }
769
770 !endif