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