VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/UefiPayloadPkg/UefiPayloadPkg.dsc@ 101489

Last change on this file since 101489 was 101291, checked in by vboxsync, 17 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • Property svn:eol-style set to native
File size: 39.5 KB
Line 
1## @file
2# Bootloader Payload Package
3#
4# Provides drivers and definitions to create uefi payload for bootloaders.
5#
6# Copyright (c) 2014 - 2023, Intel Corporation. All rights reserved.<BR>
7# Copyright (c) Microsoft Corporation.
8# SPDX-License-Identifier: BSD-2-Clause-Patent
9#
10##
11
12################################################################################
13#
14# Defines Section - statements that will be processed to create a Makefile.
15#
16################################################################################
17[Defines]
18 PLATFORM_NAME = UefiPayloadPkg
19 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 SUPPORTED_ARCHITECTURES = IA32|X64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25 OUTPUT_DIRECTORY = Build/UefiPayloadPkgX64
26 FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf
27 PCD_DYNAMIC_AS_DYNAMICEX = TRUE
28
29 DEFINE SOURCE_DEBUG_ENABLE = FALSE
30 DEFINE PS2_KEYBOARD_ENABLE = FALSE
31 DEFINE RAM_DISK_ENABLE = FALSE
32 DEFINE SIO_BUS_ENABLE = FALSE
33 DEFINE UNIVERSAL_PAYLOAD = FALSE
34 DEFINE SECURITY_STUB_ENABLE = TRUE
35 DEFINE SMM_SUPPORT = FALSE
36 DEFINE PLATFORM_BOOT_TIMEOUT = 3
37 DEFINE BOOT_MANAGER_ESCAPE = FALSE
38 DEFINE ATA_ENABLE = TRUE
39 DEFINE SD_ENABLE = TRUE
40 DEFINE PS2_MOUSE_ENABLE = TRUE
41 DEFINE CRYPTO_PROTOCOL_SUPPORT = FALSE
42 DEFINE SD_MMC_TIMEOUT = 1000000
43 DEFINE USE_CBMEM_FOR_CONSOLE = FALSE
44 DEFINE BOOTSPLASH_IMAGE = FALSE
45 DEFINE NVME_ENABLE = TRUE
46 DEFINE CAPSULE_SUPPORT = FALSE
47
48 #
49 # NULL: NullMemoryTestDxe
50 # GENERIC: GenericMemoryTestDxe
51 #
52 DEFINE MEMORY_TEST = NULL
53 #
54 # SBL: UEFI payload for Slim Bootloader
55 # COREBOOT: UEFI payload for coreboot
56 #
57 DEFINE BOOTLOADER = SBL
58
59 #
60 # CPU options
61 #
62 DEFINE MAX_LOGICAL_PROCESSORS = 1024
63
64 #
65 # PCI options
66 #
67 DEFINE PCIE_BASE_SUPPORT = TRUE
68
69 #
70 # Serial port set up
71 #
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
83
84 # Enabling the serial terminal will slow down the boot menu redering!
85 DEFINE DISABLE_SERIAL_TERMINAL = FALSE
86
87 #
88 # typedef struct {
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.
97 # UINT8 Reserved[2];
98 # } PCI_SERIAL_PARAMETER;
99 #
100 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
101 #
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}
104
105 #
106 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]
107 #
108 DEFINE SHELL_TYPE = BUILD_SHELL
109
110 #
111 # EMU: UEFI payload with EMU variable
112 # SPI: UEFI payload with SPI NV variable support
113 # NONE: UEFI payload with no variable modules
114 #
115 DEFINE VARIABLE_SUPPORT = EMU
116
117 DEFINE DISABLE_RESET_SYSTEM = FALSE
118 DEFINE NETWORK_DRIVER_ENABLE = FALSE
119
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
122
123 # Define RTC related register.
124 DEFINE RTC_INDEX_REGISTER = 0x70
125 DEFINE RTC_TARGET_REGISTER = 0x71
126
127 DEFINE SERIAL_DRIVER_ENABLE = TRUE
128 DEFINE PERFORMANCE_MEASUREMENT_ENABLE = FALSE
129
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
134
135 DEFINE MULTIPLE_DEBUG_PORT_SUPPORT = FALSE
136
137[BuildOptions]
138 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
139!if $(USE_CBMEM_FOR_CONSOLE) == FALSE
140 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
141 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
142 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
143!endif
144
145[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
146 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
147 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
148 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
149 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
150 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
151
152################################################################################
153#
154# SKU Identification section - list of all SKU IDs supported by this Platform.
155#
156################################################################################
157[SkuIds]
158 0|DEFAULT
159
160################################################################################
161#
162# Library Class section - list of all Library Classes needed by this Platform.
163#
164################################################################################
165
166!include MdePkg/MdeLibs.dsc.inc
167
168[LibraryClasses]
169 #
170 # Entry point
171 #
172 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
173 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
174 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
175
176 #
177 # Basic
178 #
179 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
180 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
181 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
182 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
183 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
184 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
185!if $(PCIE_BASE_SUPPORT) == FALSE
186 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
187 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
188!else
189 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
190 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
191!endif
192 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
193 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
194 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
195 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
196 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
197 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
198 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf
199!if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
200 BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
201 TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
202!else
203 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
204 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
205!endif
206 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
207 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
208 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
209 HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf
210
211 #
212 # UEFI & PI
213 #
214 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
215 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
216 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
217 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
218 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
219 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
220 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
221 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
222 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
223 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
224 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
225
226 #
227 # Generic Modules
228 #
229 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
230 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
231 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
232 !if $(CAPSULE_SUPPORT) == TRUE
233 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
234 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
235 !else
236 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
237 !endif
238 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
239 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
240 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
241 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
242 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
243
244 #
245 # CPU
246 #
247 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
248 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
249 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
250 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
251
252 #
253 # Platform
254 #
255!if $(CPU_TIMER_LIB_ENABLE) == TRUE && $(UNIVERSAL_PAYLOAD) == TRUE
256 TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
257!else
258 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
259!endif
260 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
261!if $(USE_CBMEM_FOR_CONSOLE) == TRUE
262 SerialPortLib|UefiPayloadPkg/Library/CbSerialPortLib/CbSerialPortLib.inf
263 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
264!else
265 !if $(MULTIPLE_DEBUG_PORT_SUPPORT) == TRUE
266 SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/DxeBaseSerialPortLibHob.inf
267 !else
268 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
269 !endif
270 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
271!endif
272 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
273 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
274
275 #
276 # Misc
277 #
278 DebugPrintErrorLevelLib|UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.inf
279 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
280!if $(SOURCE_DEBUG_ENABLE) == TRUE
281 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
282 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
283!else
284 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
285 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
286!endif
287 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
288!if $(UNIVERSAL_PAYLOAD) == FALSE
289 !if $(BOOTLOADER) == "COREBOOT"
290 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
291 !else
292 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
293 !endif
294!endif
295
296 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
297 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
298 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
299 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
300!if $(VARIABLE_SUPPORT) == "EMU"
301 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
302!elseif $(VARIABLE_SUPPORT) == "SPI"
303 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
304 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
305 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
306 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
307!endif
308 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
309 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
310 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
311 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
312 CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
313 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
314
315[LibraryClasses.common]
316!if $(BOOTSPLASH_IMAGE)
317 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
318 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
319!endif
320
321[LibraryClasses.common.SEC]
322 HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf
323 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
324 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
326!if $(MULTIPLE_DEBUG_PORT_SUPPORT) == TRUE
327 SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf
328!endif
329
330[LibraryClasses.common.DXE_CORE]
331 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
332 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
333 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
334 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
335 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
336 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
337!if $(SOURCE_DEBUG_ENABLE)
338 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
339!endif
340 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
341!if $(PERFORMANCE_MEASUREMENT_ENABLE)
342 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
343!endif
344
345[LibraryClasses.common.DXE_DRIVER]
346 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
347 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
348 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
349 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
350!if $(SOURCE_DEBUG_ENABLE)
351 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
352!endif
353 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
354 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
355!if $(PERFORMANCE_MEASUREMENT_ENABLE)
356 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
357!endif
358
359[LibraryClasses.common.DXE_RUNTIME_DRIVER]
360 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
361 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
362 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
363 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
364!if $(PERFORMANCE_MEASUREMENT_ENABLE)
365 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
366!endif
367
368[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
369 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372!if $(PERFORMANCE_MEASUREMENT_ENABLE)
373 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
374!endif
375
376[LibraryClasses.common.SMM_CORE]
377!if $(SMM_SUPPORT) == TRUE
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
379 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
380
381 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
382 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
383 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
384 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
385!if $(PERFORMANCE_MEASUREMENT_ENABLE)
386 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
387!endif
388!endif
389
390[LibraryClasses.common.DXE_SMM_DRIVER]
391!if $(SMM_SUPPORT) == TRUE
392 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
393
394 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
395 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
396 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
397 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
398 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
399 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
400 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
401 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
402 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
403 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
404!if $(PERFORMANCE_MEASUREMENT_ENABLE)
405 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
406!endif
407!endif
408!if $(VARIABLE_SUPPORT) == "SPI"
409 SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf
410 FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf
411 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
412!endif
413
414################################################################################
415#
416# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
417#
418################################################################################
419[PcdsFeatureFlag]
420 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
421 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
423 ## This PCD specified whether ACPI SDT protocol is installed.
424 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
425 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE
427 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
428
429[PcdsFixedAtBuild]
430 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1
431 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
432 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
433 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
434!if $(VARIABLE_SUPPORT) == "EMU"
435 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE
436!else
437 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE
438!endif
439
440 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
441 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
442 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
443
444 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
445 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }
446
447!if $(SOURCE_DEBUG_ENABLE)
448 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
449!endif
450 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
451 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE
452!if $(PERFORMANCE_MEASUREMENT_ENABLE)
453 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1
454!endif
455 gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MMC_TIMEOUT)
456
457 gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)
458
459 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000
460
461!if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
462 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
463 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
464 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
465 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Dh.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
466 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
467 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
468 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
469 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
470 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
471 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
472 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
473 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE
474 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
475 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
476 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
477 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
478 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
479 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
480 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
481 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
482!endif
483
484[PcdsPatchableInModule.X64]
485!if $(NETWORK_DRIVER_ENABLE) == TRUE
486 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
487!endif
488
489[PcdsPatchableInModule.common]
490 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
491 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
492 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
493!if $(USE_CBMEM_FOR_CONSOLE) == FALSE
494 !if $(SOURCE_DEBUG_ENABLE)
495 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
496 !else
497 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
498 !endif
499!else
500 !if $(TARGET) == DEBUG
501 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
502 !else
503 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x03
504 !endif
505!endif
506 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)
507 #
508 # The following parameters are set by Library/PlatformHookLib
509 #
510 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
511 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0
512 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
513 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
514
515 #
516 # Enable these parameters to be set on the command line
517 #
518 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
519 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
520 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
521 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
522 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
523
524 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
525
526 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
527 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0
528 gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0
529
530################################################################################
531#
532# Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform
533#
534################################################################################
535
536[PcdsDynamicExDefault]
537 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
538 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
539 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
540 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
541 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
542 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE
543 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE
544 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1
546 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
547 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|1
548 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0
549 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0
550!if ($(TARGET) == DEBUG || $(USE_CBMEM_FOR_CONSOLE) == TRUE)
551 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
552!else
553 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
554!endif
555 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
556 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
557 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
558 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
559 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
560 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|$(PLATFORM_BOOT_TIMEOUT)
561!if $(VARIABLE_SUPPORT) == "SPI"
562 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0
563 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0
564 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0
565 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0
566!endif
567 # Disable SMM S3 script
568 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
569
570 ## This PCD defines the video horizontal resolution.
571 # This PCD could be set to 0 then video resolution could be at highest resolution.
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
573 ## This PCD defines the video vertical resolution.
574 # This PCD could be set to 0 then video resolution could be at highest resolution.
575 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
576
577 ## The PCD is used to specify the video horizontal resolution of text setup.
578 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
579 ## The PCD is used to specify the video vertical resolution of text setup.
580 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
581
582 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
583 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
584 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
585 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0
586 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
587 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE
588 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
589 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
590
591 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)
592 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)
593
594################################################################################
595#
596# Components Section - list of all EDK II Modules needed by this Platform.
597#
598################################################################################
599
600!if "IA32" in "$(ARCH)"
601 [Components.IA32]
602 !if $(UNIVERSAL_PAYLOAD) == TRUE
603 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
604 !else
605 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
606 !endif
607!else
608 [Components.X64]
609 !if $(UNIVERSAL_PAYLOAD) == TRUE
610 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
611 !else
612 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
613 !endif
614!endif
615
616#
617# UEFI network modules
618#
619!if $(NETWORK_DRIVER_ENABLE) == TRUE
620[Defines]
621 DEFINE PLATFORMX64_ENABLE = TRUE
622 !include NetworkPkg/Network.dsc.inc
623!endif
624
625[Components.X64]
626 #
627 # DXE Core
628 #
629 MdeModulePkg/Core/Dxe/DxeMain.inf {
630 <LibraryClasses>
631 !if $(MULTIPLE_DEBUG_PORT_SUPPORT) == TRUE
632 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
633 SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/DxeBaseSerialPortLibHob.inf
634 !endif
635 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
636 }
637
638 #
639 # Components that produce the architectural protocols
640 #
641!if $(SECURITY_STUB_ENABLE) == TRUE
642 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
643!endif
644 UefiCpuPkg/CpuDxe/CpuDxe.inf
645 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
646!if $(BOOTSPLASH_IMAGE)
647 MdeModulePkg/Logo/LogoDxe.inf
648!endif
649 MdeModulePkg/Application/UiApp/UiApp.inf {
650 <LibraryClasses>
651 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
652 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
653 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
654 }
655 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
656
657
658 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
659 MdeModulePkg/Universal/Metronome/Metronome.inf
660 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
661 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
662 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
663 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
664!if $(DISABLE_RESET_SYSTEM) == FALSE
665 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
666!endif
667 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
668!if $(EMU_VARIABLE_ENABLE) == TRUE
669 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
670!endif
671 #
672 # Following are the DXE drivers
673 #
674 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
675 <LibraryClasses>
676 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
677 }
678
679 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
680 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
681 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
682 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
683!if $(MEMORY_TEST) == "GENERIC"
684 MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/GenericMemoryTestDxe.inf
685!elseif $(MEMORY_TEST) == "NULL"
686 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
687!endif
688 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
689 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
690 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
691 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
692 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
693
694 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
695
696 #
697 # SMBIOS Support
698 #
699 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
700
701 #
702 # ACPI Support
703 #
704 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
705!if $(BOOTSPLASH_IMAGE)
706 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
707 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
708!endif
709
710 #
711 # PCI Support
712 #
713 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
714 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
715 <LibraryClasses>
716 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
717 }
718
719 #
720 # SCSI/ATA/IDE/DISK Support
721 #
722 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
723 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
724 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
725 FatPkg/EnhancedFatDxe/Fat.inf
726!if $(ATA_ENABLE) == TRUE
727 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
728 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
729!endif
730 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
731 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
732 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
733!if $(NVME_ENABLE) == TRUE
734 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
735!endif
736
737!if $(RAM_DISK_ENABLE) == TRUE
738 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
739!endif
740 #
741 # SD/eMMC Support
742 #
743!if $(SD_ENABLE) == TRUE
744 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
745 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
746 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
747!endif
748
749 #
750 # Usb Support
751 #
752 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
753 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
754 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
755 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
756 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
757 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
758 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
759
760 #
761 # ISA Support
762 #
763!if $(SERIAL_DRIVER_ENABLE) == TRUE
764 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
765!endif
766!if $(SIO_BUS_ENABLE) == TRUE
767 OvmfPkg/SioBusDxe/SioBusDxe.inf
768!endif
769!if $(PS2_KEYBOARD_ENABLE) == TRUE
770 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
771!endif
772!if $(PS2_MOUSE_ENABLE) == TRUE
773 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
774!endif
775
776 #
777 # Console Support
778 #
779 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
780 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
781 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
782!if $(DISABLE_SERIAL_TERMINAL) == FALSE
783 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
784!endif
785 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
786!if $(PERFORMANCE_MEASUREMENT_ENABLE)
787 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
788!endif
789 #
790 # SMM Support
791 #
792!if $(SMM_SUPPORT) == TRUE
793 UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf
794 UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf
795 UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf
796 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
797 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
798 UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf
799 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
800 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
801!if $(PERFORMANCE_MEASUREMENT_ENABLE)
802 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf
803!endif
804!endif
805
806!if $(VARIABLE_SUPPORT) == "EMU"
807 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
808!elseif $(VARIABLE_SUPPORT) == "SPI"
809 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
810 <LibraryClasses>
811 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
812 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
813 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf
814 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
815 }
816
817 UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf
818 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
819 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
820!endif
821
822 #
823 # Misc
824 #
825!if $(CRYPTO_PROTOCOL_SUPPORT) == TRUE
826 CryptoPkg/Driver/CryptoDxe.inf {
827 <LibraryClasses>
828 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
829 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
830 }
831!endif
832
833 #------------------------------
834 # Build the shell
835 #------------------------------
836
837!if $(SHELL_TYPE) == BUILD_SHELL
838
839 #
840 # Shell Lib
841 #
842[LibraryClasses]
843 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
844 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
845 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
846 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
847 !include NetworkPkg/NetworkLibs.dsc.inc
848
849[Components.X64]
850 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
851 <PcdsFixedAtBuild>
852 ## This flag is used to control initialization of the shell library
853 # This should be FALSE for compiling the dynamic command.
854 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
855 }
856!if $(PERFORMANCE_MEASUREMENT_ENABLE) == TRUE
857 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
858 <PcdsFixedAtBuild>
859 ## This flag is used to control initialization of the shell library
860 # This should be FALSE for compiling the dynamic command.
861 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
862 }
863!endif
864 ShellPkg/Application/Shell/Shell.inf {
865 <PcdsFixedAtBuild>
866 ## This flag is used to control initialization of the shell library
867 # This should be FALSE for compiling the shell application itself only.
868 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
869
870 #------------------------------
871 # Basic commands
872 #------------------------------
873
874 <LibraryClasses>
875 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
876 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
877 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
878 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
879 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
880 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
881
882 #------------------------------
883 # Networking commands
884 #------------------------------
885
886 <LibraryClasses>
887 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
888
889 #------------------------------
890 # Support libraries
891 #------------------------------
892
893 <LibraryClasses>
894 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
895 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
896 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
897 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
898 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
899 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
900 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
901 }
902
903!endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette