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