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