2 # Bootloader Payload Package
4 # Provides drivers and definitions to create uefi payload for bootloaders.
6 # Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>
7 # Copyright (c) Microsoft Corporation.
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ################################################################################
14 # Defines Section - statements that will be processed to create a Makefile.
16 ################################################################################
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
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 PLATFORM_BOOT_TIMEOUT = 3
37 DEFINE ABOVE_4G_MEMORY = TRUE
38 DEFINE BOOT_MANAGER_ESCAPE = FALSE
39 DEFINE ATA_ENABLE = TRUE
40 DEFINE SD_ENABLE = TRUE
41 DEFINE PS2_MOUSE_ENABLE = TRUE
42 DEFINE CRYPTO_PROTOCOL_SUPPORT = FALSE
43 DEFINE SD_MMC_TIMEOUT = 1000000
44 DEFINE USE_CBMEM_FOR_CONSOLE = FALSE
45 DEFINE BOOTSPLASH_IMAGE = FALSE
46 DEFINE NVME_ENABLE = TRUE
49 # NULL: NullMemoryTestDxe
50 # GENERIC: GenericMemoryTestDxe
52 DEFINE MEMORY_TEST = NULL
54 # SBL: UEFI payload for Slim Bootloader
55 # COREBOOT: UEFI payload for coreboot
57 DEFINE BOOTLOADER = SBL
62 DEFINE MAX_LOGICAL_PROCESSORS = 256
67 DEFINE PCIE_BASE_SUPPORT = TRUE
72 DEFINE BAUD_RATE = 115200
73 DEFINE SERIAL_CLOCK_RATE = 1843200
74 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
75 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
76 DEFINE SERIAL_DETECT_CABLE = FALSE
77 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
78 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
79 DEFINE UART_DEFAULT_DATA_BITS = 8
80 DEFINE UART_DEFAULT_PARITY = 1
81 DEFINE UART_DEFAULT_STOP_BITS = 1
82 DEFINE DEFAULT_TERMINAL_TYPE = 0
84 # Enabling the serial terminal will slow down the boot menu redering!
85 DEFINE DISABLE_SERIAL_TERMINAL = FALSE
89 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
90 # UINT16 DeviceId; ///< Device ID to match the PCI device
91 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
92 # UINT64 Offset; ///< The byte offset into to the BAR
93 # UINT8 BarIndex; ///< Which BAR to get the UART base address
94 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
95 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
96 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
98 # } PCI_SERIAL_PARAMETER;
100 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
102 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
103 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}
106 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]
108 DEFINE SHELL_TYPE = BUILD_SHELL
111 # EMU: UEFI payload with EMU variable
112 # SPI: UEFI payload with SPI NV variable support
113 # NONE: UEFI payload with no variable modules
115 DEFINE VARIABLE_SUPPORT = EMU
117 DEFINE DISABLE_RESET_SYSTEM = FALSE
118 DEFINE NETWORK_DRIVER_ENABLE = FALSE
120 # Dfine the maximum size of the capsule image without a reset flag that the platform can support.
121 DEFINE MAX_SIZE_NON_POPULATE_CAPSULE = 0xa00000
123 # Define RTC related register.
124 DEFINE RTC_INDEX_REGISTER = 0x70
125 DEFINE RTC_TARGET_REGISTER = 0x71
127 DEFINE SERIAL_DRIVER_ENABLE = TRUE
128 DEFINE PERFORMANCE_MEASUREMENT_ENABLE = FALSE
130 # For recent X86 CPU, 0x15 CPUID instruction will return Time Stamp Counter Frequence.
131 # This is how BaseCpuTimerLib works, and a recommended way to get Frequence, so set the default value as TRUE.
132 # Note: for emulation platform such as QEMU, this may not work and should set it as FALSE
133 DEFINE CPU_TIMER_LIB_ENABLE = TRUE
136 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
137 !if $(USE_CBMEM_FOR_CONSOLE) == FALSE
138 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
139 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
140 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
143 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
144 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
145 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
146 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
147 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
148 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
150 ################################################################################
152 # SKU Identification section - list of all SKU IDs supported by this Platform.
154 ################################################################################
158 ################################################################################
160 # Library Class section - list of all Library Classes needed by this Platform.
162 ################################################################################
164 !include MdePkg/MdeLibs.dsc.inc
170 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
171 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
172 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
177 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
178 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
179 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
180 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
181 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
182 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
183 !if $(PCIE_BASE_SUPPORT) == FALSE
184 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
185 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
187 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
188 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
190 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
191 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
192 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
193 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
194 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
195 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
196 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf
197 !if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
198 BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
199 TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
201 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
202 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
204 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
205 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
206 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
207 HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf
212 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
213 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
214 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
215 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
216 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
217 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
218 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
219 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
220 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
221 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
222 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
223 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
228 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
229 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
230 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
231 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
232 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
233 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
234 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
235 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
236 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
241 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
242 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
243 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
248 !if $(CPU_TIMER_LIB_ENABLE) == TRUE && $(UNIVERSAL_PAYLOAD) == TRUE
249 TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
251 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
253 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
254 !if $(USE_CBMEM_FOR_CONSOLE) == TRUE
255 SerialPortLib|UefiPayloadPkg/Library/CbSerialPortLib/CbSerialPortLib.inf
256 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
258 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
259 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
261 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
262 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
267 DebugPrintErrorLevelLib|UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.inf
268 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
269 !if $(SOURCE_DEBUG_ENABLE) == TRUE
270 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
271 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
273 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
274 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
276 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
277 !if $(UNIVERSAL_PAYLOAD) == FALSE
278 !if $(BOOTLOADER) == "COREBOOT"
279 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
281 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
285 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
286 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
287 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
288 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
289 !if $(VARIABLE_SUPPORT) == "EMU"
290 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
291 !elseif $(VARIABLE_SUPPORT) == "SPI"
292 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
293 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
294 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
295 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
297 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
298 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
299 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
300 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
301 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
302 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
304 [LibraryClasses.common]
305 !if $(BOOTSPLASH_IMAGE)
306 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
307 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
310 [LibraryClasses.common.SEC]
311 HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf
312 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
313 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
314 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316 [LibraryClasses.common.DXE_CORE]
317 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
318 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
319 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
320 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
321 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
322 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
323 !if $(SOURCE_DEBUG_ENABLE)
324 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
326 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
327 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
328 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
331 [LibraryClasses.common.DXE_DRIVER]
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
334 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
336 !if $(SOURCE_DEBUG_ENABLE)
337 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
339 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
340 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
341 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
342 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
345 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
346 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
347 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
348 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
349 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
350 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
351 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
354 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
355 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
356 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
357 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
358 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
359 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
362 [LibraryClasses.common.SMM_CORE]
363 !if $(SMM_SUPPORT) == TRUE
364 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
365 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
367 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
368 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
369 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
370 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
371 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
372 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
376 [LibraryClasses.common.DXE_SMM_DRIVER]
377 !if $(SMM_SUPPORT) == TRUE
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
380 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
381 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
382 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
383 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
384 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
385 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
386 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
387 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
388 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
389 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
390 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
391 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
394 !if $(VARIABLE_SUPPORT) == "SPI"
395 SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf
396 FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf
397 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
400 ################################################################################
402 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
404 ################################################################################
406 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
407 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
408 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
409 ## This PCD specified whether ACPI SDT protocol is installed.
410 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
411 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
412 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE
413 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
416 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1
417 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
418 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
419 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
420 !if $(VARIABLE_SUPPORT) == "EMU"
421 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
427 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
430 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }
432 !if $(SOURCE_DEBUG_ENABLE)
433 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
435 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
436 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE
437 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
438 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1
440 gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MMC_TIMEOUT)
442 gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G_MEMORY)
443 gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)
445 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000
447 !if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
448 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
449 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
450 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
451 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Dh.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
452 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
453 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
454 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
455 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
456 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
457 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
458 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
459 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
460 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE
461 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
462 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
463 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
464 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
465 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
466 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
467 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
468 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
469 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
472 [PcdsPatchableInModule.X64]
473 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)
474 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)
475 !if $(NETWORK_DRIVER_ENABLE) == TRUE
476 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
479 [PcdsPatchableInModule.common]
480 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
481 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
482 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
483 !if $(USE_CBMEM_FOR_CONSOLE) == FALSE
484 !if $(SOURCE_DEBUG_ENABLE)
485 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
487 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
490 !if $(TARGET) == DEBUG
491 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
493 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x03
496 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)
498 # The following parameters are set by Library/PlatformHookLib
500 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
501 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
502 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
503 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
506 # Enable these parameters to be set on the command line
508 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
509 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
510 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
511 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
512 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
514 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
516 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
517 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0
518 gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0
520 ################################################################################
522 # Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform
524 ################################################################################
526 [PcdsDynamicExDefault]
527 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
528 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
529 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
530 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
531 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
532 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport
533 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport
534 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport
535 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize
536 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds
537 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode
538 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress
539 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize
540 !if ($(TARGET) == DEBUG || $(USE_CBMEM_FOR_CONSOLE) == TRUE)
541 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
543 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
545 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
546 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
547 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
548 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
549 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
550 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|$(PLATFORM_BOOT_TIMEOUT)
551 !if $(VARIABLE_SUPPORT) == "SPI"
552 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0
553 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0
554 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0
555 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0
557 # Disable SMM S3 script
558 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
560 ## This PCD defines the video horizontal resolution.
561 # This PCD could be set to 0 then video resolution could be at highest resolution.
562 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
563 ## This PCD defines the video vertical resolution.
564 # This PCD could be set to 0 then video resolution could be at highest resolution.
565 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
567 ## The PCD is used to specify the video horizontal resolution of text setup.
568 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
569 ## The PCD is used to specify the video vertical resolution of text setup.
570 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
574 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
575 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
576 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
577 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE
578 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
579 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
581 ################################################################################
583 # Components Section - list of all EDK II Modules needed by this Platform.
585 ################################################################################
587 !if "IA32" in "$(ARCH)"
589 !if $(UNIVERSAL_PAYLOAD) == TRUE
590 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
592 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
596 !if $(UNIVERSAL_PAYLOAD) == TRUE
597 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
599 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
604 # UEFI network modules
606 !if $(NETWORK_DRIVER_ENABLE) == TRUE
608 DEFINE PLATFORMX64_ENABLE = TRUE
609 !include NetworkPkg/Network.dsc.inc
616 MdeModulePkg/Core/Dxe/DxeMain.inf {
618 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
622 # Components that produce the architectural protocols
624 !if $(SECURITY_STUB_ENABLE) == TRUE
625 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
627 UefiCpuPkg/CpuDxe/CpuDxe.inf
628 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
629 !if $(BOOTSPLASH_IMAGE)
630 MdeModulePkg/Logo/LogoDxe.inf
632 MdeModulePkg/Application/UiApp/UiApp.inf {
634 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
635 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
636 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
638 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {
640 NULL|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
642 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
643 MdeModulePkg/Universal/Metronome/Metronome.inf
644 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
645 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
646 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
647 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
648 !if $(DISABLE_RESET_SYSTEM) == FALSE
649 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
651 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
652 !if $(EMU_VARIABLE_ENABLE) == TRUE
653 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
656 # Following are the DXE drivers
658 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
660 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
663 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
664 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
665 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
666 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
667 !if $(MEMORY_TEST) == "GENERIC"
668 MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/GenericMemoryTestDxe.inf
669 !elseif $(MEMORY_TEST) == "NULL"
670 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
672 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
673 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
674 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
675 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
676 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
678 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
683 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
688 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
689 !if $(BOOTSPLASH_IMAGE)
690 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
691 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
697 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
698 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
700 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
704 # SCSI/ATA/IDE/DISK Support
706 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
707 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
708 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
709 FatPkg/EnhancedFatDxe/Fat.inf
710 !if $(ATA_ENABLE) == TRUE
711 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
712 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
714 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
715 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
716 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
717 !if $(NVME_ENABLE) == TRUE
718 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
721 !if $(RAM_DISK_ENABLE) == TRUE
722 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
727 !if $(SD_ENABLE) == TRUE
728 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
729 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
730 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
736 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
737 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
738 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
739 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
740 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
741 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
742 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
747 !if $(SERIAL_DRIVER_ENABLE) == TRUE
748 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
750 !if $(SIO_BUS_ENABLE) == TRUE
751 OvmfPkg/SioBusDxe/SioBusDxe.inf
753 !if $(PS2_KEYBOARD_ENABLE) == TRUE
754 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
756 !if $(PS2_MOUSE_ENABLE) == TRUE
757 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
763 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
764 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
765 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
766 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
767 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
769 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
770 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
771 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
776 !if $(SMM_SUPPORT) == TRUE
777 UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf
778 UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf
779 UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf
780 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
781 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
782 UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf
783 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
784 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
785 !if $(PERFORMANCE_MEASUREMENT_ENABLE)
786 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf
790 !if $(VARIABLE_SUPPORT) == "EMU"
791 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
792 !elseif $(VARIABLE_SUPPORT) == "SPI"
793 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
795 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
796 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
797 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf
798 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
801 UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf
802 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
803 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
809 !if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
810 CryptoPkg/Driver/CryptoDxe.inf {
812 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
813 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
817 #------------------------------
819 #------------------------------
821 !if $(SHELL_TYPE) == BUILD_SHELL
827 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
828 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
829 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
830 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
831 !include NetworkPkg/NetworkLibs.dsc.inc
834 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
836 ## This flag is used to control initialization of the shell library
837 # This should be FALSE for compiling the dynamic command.
838 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
840 !if $(PERFORMANCE_MEASUREMENT_ENABLE) == TRUE
841 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
843 ## This flag is used to control initialization of the shell library
844 # This should be FALSE for compiling the dynamic command.
845 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
848 ShellPkg/Application/Shell/Shell.inf {
850 ## This flag is used to control initialization of the shell library
851 # This should be FALSE for compiling the shell application itself only.
852 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
854 #------------------------------
856 #------------------------------
859 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
860 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
861 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
862 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
863 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
864 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
866 #------------------------------
867 # Networking commands
868 #------------------------------
871 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
873 #------------------------------
875 #------------------------------
878 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
879 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
880 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
881 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
882 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
883 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
884 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf