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