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