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