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
145 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
150 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
151 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
152 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
153 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
154 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
155 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
156 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
157 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
158 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
159 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
160 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
161 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
166 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
167 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
168 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
169 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
170 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
171 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
172 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
173 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
178 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
179 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
184 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
185 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
186 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
187 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
188 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
189 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
194 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
195 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
196 !if $(SOURCE_DEBUG_ENABLE) == TRUE
197 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
198 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
200 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
201 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
203 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
204 !if $(BOOTLOADER) == "COREBOOT"
205 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
207 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
210 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
211 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
212 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
213 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
214 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
215 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
216 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
217 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
219 [LibraryClasses.common.SEC]
220 HobLib|UefiPayloadPkg/Library/HobLib/HobLib.inf
221 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
223 [LibraryClasses.common.DXE_CORE]
224 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
225 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
226 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
227 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
228 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
229 !if $(SOURCE_DEBUG_ENABLE)
230 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
232 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
233 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
235 [LibraryClasses.common.DXE_DRIVER]
236 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
237 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
238 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
239 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
240 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
241 !if $(SOURCE_DEBUG_ENABLE)
242 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
244 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
245 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
246 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
248 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
249 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
250 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
251 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
252 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
253 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
255 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
257 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
258 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
259 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
261 ################################################################################
263 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
265 ################################################################################
267 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
268 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
269 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
272 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
273 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
274 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
276 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
278 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
280 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
281 !if $(TARGET) == DEBUG
282 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
284 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
286 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
287 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
288 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
291 !if $(SOURCE_DEBUG_ENABLE)
292 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
295 [PcdsPatchableInModule.common]
296 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
297 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
298 !if $(SOURCE_DEBUG_ENABLE)
299 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
301 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
305 # The following parameters are set by Library/PlatformHookLib
307 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
308 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
309 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
310 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
313 # Enable these parameters to be set on the command line
315 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
316 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
317 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
318 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
319 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
320 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
322 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
323 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
324 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
325 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
326 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
327 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
328 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
330 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
333 ################################################################################
335 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
337 ################################################################################
340 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
341 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
342 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
343 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
344 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
346 ## This PCD defines the video horizontal resolution.
347 # This PCD could be set to 0 then video resolution could be at highest resolution.
348 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
349 ## This PCD defines the video vertical resolution.
350 # This PCD could be set to 0 then video resolution could be at highest resolution.
351 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
353 ## The PCD is used to specify the video horizontal resolution of text setup.
354 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
355 ## The PCD is used to specify the video vertical resolution of text setup.
356 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
358 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
359 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
360 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
361 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
363 ################################################################################
365 # Components Section - list of all EDK II Modules needed by this Platform.
367 ################################################################################
369 !if "IA32" in $(ARCH)
371 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
374 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
381 MdeModulePkg/Core/Dxe/DxeMain.inf {
383 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
387 # Components that produce the architectural protocols
389 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
390 UefiCpuPkg/CpuDxe/CpuDxe.inf
391 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
392 MdeModulePkg/Application/UiApp/UiApp.inf {
394 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
395 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
396 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
399 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
400 MdeModulePkg/Universal/Metronome/Metronome.inf
401 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
402 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
403 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
404 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
405 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
406 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
407 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
410 # Following are the DXE drivers
412 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
414 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
417 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
418 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
419 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
420 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
421 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
422 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
423 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
424 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
426 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
431 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
436 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
441 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
442 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
444 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
448 # SCSI/ATA/IDE/DISK Support
450 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
451 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
452 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
453 FatPkg/EnhancedFatDxe/Fat.inf
454 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
455 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
456 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
457 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
458 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
463 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
464 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
465 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
470 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
471 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
472 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
473 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
474 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
475 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
480 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
481 !if $(PS2_KEYBOARD_ENABLE) == TRUE
482 OvmfPkg/SioBusDxe/SioBusDxe.inf
483 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
489 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
490 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
491 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
492 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
493 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
495 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
497 #------------------------------
499 #------------------------------
501 !if $(SHELL_TYPE) == BUILD_SHELL
507 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
508 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
509 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
510 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
511 !include NetworkPkg/NetworkLibs.dsc.inc
514 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
516 ## This flag is used to control initialization of the shell library
517 # This should be FALSE for compiling the dynamic command.
518 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
520 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
522 ## This flag is used to control initialization of the shell library
523 # This should be FALSE for compiling the dynamic command.
524 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
526 ShellPkg/Application/Shell/Shell.inf {
528 ## This flag is used to control initialization of the shell library
529 # This should be FALSE for compiling the shell application itself only.
530 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
532 #------------------------------
534 #------------------------------
537 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
538 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
539 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
540 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
541 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
542 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
544 #------------------------------
545 # Networking commands
546 #------------------------------
549 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
551 #------------------------------
553 #------------------------------
556 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
557 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
558 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
559 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
560 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
561 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
562 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf