2 # Bootloader Payload Package
4 # Provides drivers and definitions to create uefi payload for bootloaders.
6 # Copyright (c) 2014 - 2021, 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
28 DEFINE SOURCE_DEBUG_ENABLE = FALSE
29 DEFINE PS2_KEYBOARD_ENABLE = FALSE
32 # SBL: UEFI payload for Slim Bootloader
33 # COREBOOT: UEFI payload for coreboot
35 DEFINE BOOTLOADER = SBL
40 DEFINE MAX_LOGICAL_PROCESSORS = 64
45 DEFINE PCIE_BASE_SUPPORT = TRUE
50 DEFINE BAUD_RATE = 115200
51 DEFINE SERIAL_CLOCK_RATE = 1843200
52 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
53 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
54 DEFINE SERIAL_DETECT_CABLE = FALSE
55 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
56 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16
57 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
58 DEFINE UART_DEFAULT_DATA_BITS = 8
59 DEFINE UART_DEFAULT_PARITY = 1
60 DEFINE UART_DEFAULT_STOP_BITS = 1
61 DEFINE DEFAULT_TERMINAL_TYPE = 0
63 # Enabling the serial terminal will slow down the boot menu redering!
64 DEFINE DISABLE_SERIAL_TERMINAL = FALSE
68 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
69 # UINT16 DeviceId; ///< Device ID to match the PCI device
70 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
71 # UINT64 Offset; ///< The byte offset into to the BAR
72 # UINT8 BarIndex; ///< Which BAR to get the UART base address
73 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
74 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
75 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
77 # } PCI_SERIAL_PARAMETER;
79 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
81 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
82 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}
85 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]
87 DEFINE SHELL_TYPE = BUILD_SHELL
90 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
91 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
92 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
93 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
94 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
96 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
101 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
103 ################################################################################
105 # SKU Identification section - list of all SKU IDs supported by this Platform.
107 ################################################################################
111 ################################################################################
113 # Library Class section - list of all Library Classes needed by this Platform.
115 ################################################################################
117 !include MdePkg/MdeLibs.dsc.inc
123 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
124 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
125 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
130 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
131 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
132 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
133 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
134 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
135 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
136 !if $(PCIE_BASE_SUPPORT) == FALSE
137 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
138 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
140 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
141 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
143 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
144 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
145 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
146 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
147 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
148 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
153 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
154 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
155 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
156 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
157 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
158 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
159 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
160 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
161 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
162 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
163 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
164 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
169 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
170 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
171 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
172 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
173 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
174 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
175 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
176 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
181 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
182 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
187 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
188 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
189 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
190 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
191 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
192 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
197 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
198 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
199 !if $(SOURCE_DEBUG_ENABLE) == TRUE
200 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
201 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
203 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
204 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
206 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
207 !if $(BOOTLOADER) == "COREBOOT"
208 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
210 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
213 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
214 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
215 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
216 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
217 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
218 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
219 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
220 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
222 [LibraryClasses.common.SEC]
223 HobLib|UefiPayloadPkg/Library/HobLib/HobLib.inf
224 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
226 [LibraryClasses.common.DXE_CORE]
227 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
228 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
229 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
230 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
231 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
232 !if $(SOURCE_DEBUG_ENABLE)
233 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
235 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
236 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
238 [LibraryClasses.common.DXE_DRIVER]
239 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
240 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
241 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
242 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
243 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
244 !if $(SOURCE_DEBUG_ENABLE)
245 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
247 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
248 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
249 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
251 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
252 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
253 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
254 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
256 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
258 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
259 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
260 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
261 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
262 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
264 ################################################################################
266 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
268 ################################################################################
270 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
271 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
272 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
275 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
276 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
277 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
279 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
281 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
283 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
284 !if $(TARGET) == DEBUG
285 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
287 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
289 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
290 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
291 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
294 !if $(SOURCE_DEBUG_ENABLE)
295 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
298 [PcdsPatchableInModule.common]
299 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
300 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
301 !if $(SOURCE_DEBUG_ENABLE)
302 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
304 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
308 # The following parameters are set by Library/PlatformHookLib
310 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
311 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
312 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
316 # Enable these parameters to be set on the command line
318 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
319 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
320 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
321 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
325 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
326 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
327 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
328 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
329 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
330 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
331 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
333 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
336 ################################################################################
338 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
340 ################################################################################
343 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
344 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
345 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
346 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
347 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
349 ## This PCD defines the video horizontal resolution.
350 # This PCD could be set to 0 then video resolution could be at highest resolution.
351 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
352 ## This PCD defines the video vertical resolution.
353 # This PCD could be set to 0 then video resolution could be at highest resolution.
354 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
356 ## The PCD is used to specify the video horizontal resolution of text setup.
357 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
358 ## The PCD is used to specify the video vertical resolution of text setup.
359 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
361 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
362 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
363 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
364 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
366 ################################################################################
368 # Components Section - list of all EDK II Modules needed by this Platform.
370 ################################################################################
372 !if "IA32" in $(ARCH)
374 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
377 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
384 MdeModulePkg/Core/Dxe/DxeMain.inf {
386 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
390 # Components that produce the architectural protocols
392 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
393 UefiCpuPkg/CpuDxe/CpuDxe.inf
394 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
395 MdeModulePkg/Application/UiApp/UiApp.inf {
397 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
398 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
399 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
402 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
403 MdeModulePkg/Universal/Metronome/Metronome.inf
404 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
405 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
406 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
407 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
408 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
409 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
410 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
413 # Following are the DXE drivers
415 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
417 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
420 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
421 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
422 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
423 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
424 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
425 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
426 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
427 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
429 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
434 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
439 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
444 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
445 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
447 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
451 # SCSI/ATA/IDE/DISK Support
453 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
454 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
455 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
456 FatPkg/EnhancedFatDxe/Fat.inf
457 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
458 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
459 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
460 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
461 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
462 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
467 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
468 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
469 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
474 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
475 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
476 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
477 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
478 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
479 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
484 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
485 !if $(PS2_KEYBOARD_ENABLE) == TRUE
486 OvmfPkg/SioBusDxe/SioBusDxe.inf
487 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
493 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
494 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
495 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
496 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
497 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
499 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
501 #------------------------------
503 #------------------------------
505 !if $(SHELL_TYPE) == BUILD_SHELL
511 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
512 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
513 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
514 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
515 !include NetworkPkg/NetworkLibs.dsc.inc
518 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
520 ## This flag is used to control initialization of the shell library
521 # This should be FALSE for compiling the dynamic command.
522 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
524 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
526 ## This flag is used to control initialization of the shell library
527 # This should be FALSE for compiling the dynamic command.
528 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
530 ShellPkg/Application/Shell/Shell.inf {
532 ## This flag is used to control initialization of the shell library
533 # This should be FALSE for compiling the shell application itself only.
534 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
536 #------------------------------
538 #------------------------------
541 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
542 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
543 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
544 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
545 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
546 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
548 #------------------------------
549 # Networking commands
550 #------------------------------
553 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
555 #------------------------------
557 #------------------------------
560 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
561 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
562 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
563 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
564 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
565 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
566 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
567 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf