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