2 # Bootloader Payload Package
4 # Provides drivers and definitions to create uefi payload for bootloaders.
6 # Copyright (c) 2014 - 2020, 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 ################################################################################
120 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
121 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
122 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
127 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
128 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
129 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
130 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
131 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
132 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
133 !if $(PCIE_BASE_SUPPORT) == FALSE
134 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
135 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
137 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
138 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
140 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
141 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
142 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
143 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
144 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
149 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
150 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
151 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
152 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
153 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
154 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
155 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
156 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
157 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
158 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
159 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
160 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
165 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
166 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
167 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
168 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
169 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
170 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
171 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
172 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
177 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
178 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
183 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
184 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
185 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
186 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
187 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
188 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
193 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
194 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
195 !if $(SOURCE_DEBUG_ENABLE) == TRUE
196 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
197 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
199 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
200 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
202 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
203 !if $(BOOTLOADER) == "COREBOOT"
204 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
206 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
209 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
210 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
211 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
212 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
213 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
214 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
215 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
216 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
218 [LibraryClasses.common.SEC]
219 HobLib|UefiPayloadPkg/Library/HobLib/HobLib.inf
220 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
222 [LibraryClasses.common.DXE_CORE]
223 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
224 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
225 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
226 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
227 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
228 !if $(SOURCE_DEBUG_ENABLE)
229 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
231 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
232 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
234 [LibraryClasses.common.DXE_DRIVER]
235 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
236 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
238 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
239 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
240 !if $(SOURCE_DEBUG_ENABLE)
241 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
243 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
244 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
245 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
247 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
248 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
251 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
252 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
254 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
255 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
256 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
257 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
258 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
260 ################################################################################
262 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
264 ################################################################################
266 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
267 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
268 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
271 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
272 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
273 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
275 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
277 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
279 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
280 !if $(TARGET) == DEBUG
281 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
283 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
285 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
286 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
287 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
290 !if $(SOURCE_DEBUG_ENABLE)
291 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
294 [PcdsPatchableInModule.common]
295 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
296 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
297 !if $(SOURCE_DEBUG_ENABLE)
298 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
300 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
304 # The following parameters are set by Library/PlatformHookLib
306 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
307 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
308 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
309 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
312 # Enable these parameters to be set on the command line
314 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
315 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
316 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
317 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
318 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
319 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
321 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
322 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
323 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
324 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
325 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
326 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
327 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
329 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
332 ################################################################################
334 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
336 ################################################################################
339 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
340 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
341 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
342 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
343 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
345 ## This PCD defines the video horizontal resolution.
346 # This PCD could be set to 0 then video resolution could be at highest resolution.
347 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
348 ## This PCD defines the video vertical resolution.
349 # This PCD could be set to 0 then video resolution could be at highest resolution.
350 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
352 ## The PCD is used to specify the video horizontal resolution of text setup.
353 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
354 ## The PCD is used to specify the video vertical resolution of text setup.
355 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
357 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
358 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
359 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
360 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
362 ################################################################################
364 # Components Section - list of all EDK II Modules needed by this Platform.
366 ################################################################################
368 !if "IA32" in $(ARCH)
370 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
373 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
380 MdeModulePkg/Core/Dxe/DxeMain.inf {
382 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
386 # Components that produce the architectural protocols
388 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
389 UefiCpuPkg/CpuDxe/CpuDxe.inf
390 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
391 MdeModulePkg/Application/UiApp/UiApp.inf {
393 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
394 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
395 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
398 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
399 MdeModulePkg/Universal/Metronome/Metronome.inf
400 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
401 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
402 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
403 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
404 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
405 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
406 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
409 # Following are the DXE drivers
411 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
413 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
416 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
417 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
418 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
419 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
420 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
421 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
422 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
423 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
425 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
430 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
435 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
440 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
441 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
443 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
447 # SCSI/ATA/IDE/DISK Support
449 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
450 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
451 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
452 FatPkg/EnhancedFatDxe/Fat.inf
453 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
454 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
455 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
456 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
457 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
462 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
463 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
464 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
469 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
470 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
471 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
472 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
473 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
474 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
479 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
480 !if $(PS2_KEYBOARD_ENABLE) == TRUE
481 OvmfPkg/SioBusDxe/SioBusDxe.inf
482 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
488 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
489 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
490 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
491 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
492 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
494 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
496 #------------------------------
498 #------------------------------
500 !if $(SHELL_TYPE) == BUILD_SHELL
506 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
507 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
508 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
509 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
510 !include NetworkPkg/NetworkLibs.dsc.inc
513 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
515 ## This flag is used to control initialization of the shell library
516 # This should be FALSE for compiling the dynamic command.
517 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
519 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
521 ## This flag is used to control initialization of the shell library
522 # This should be FALSE for compiling the dynamic command.
523 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
525 ShellPkg/Application/Shell/Shell.inf {
527 ## This flag is used to control initialization of the shell library
528 # This should be FALSE for compiling the shell application itself only.
529 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
531 #------------------------------
533 #------------------------------
536 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
537 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
538 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
539 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
540 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
541 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
543 #------------------------------
544 # Networking commands
545 #------------------------------
548 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
550 #------------------------------
552 #------------------------------
555 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
556 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
557 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
558 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
559 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
560 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
561 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf