]> git.proxmox.com Git - mirror_edk2.git/blame - UefiPayloadPkg/UefiPayloadPkg.dsc
.pytool/Plugin/UncrustifyCheck: Add Azure DevOps UI debug instructions
[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
b80c17b6 275 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
0023e35c 276 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.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
0023e35c 282 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
04af8bf2
DG
283\r
284[LibraryClasses.common.DXE_CORE]\r
82f727c4 285 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r
04af8bf2
DG
286 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
287 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
288 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
289 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
290 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
291!if $(SOURCE_DEBUG_ENABLE)\r
292 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
293!endif\r
294 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
2527723d
ZL
295!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
296 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
297!endif\r
04af8bf2
DG
298\r
299[LibraryClasses.common.DXE_DRIVER]\r
300 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
04af8bf2
DG
301 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
302 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
303 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
304!if $(SOURCE_DEBUG_ENABLE)\r
305 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
306!endif\r
307 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
308 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
2527723d
ZL
309!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
310 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
311!endif\r
04af8bf2
DG
312\r
313[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
314 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
04af8bf2
DG
315 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
316 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
d49fe0ca 317 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
2527723d
ZL
318!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
319 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
320!endif\r
04af8bf2
DG
321\r
322[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
323 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
324 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
2527723d
ZL
326!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
327 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
328!endif\r
04af8bf2 329\r
b80c17b6
GD
330[LibraryClasses.common.SMM_CORE]\r
331!if $(SMM_SUPPORT) == TRUE\r
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
333 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
334\r
335 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
336 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
337 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
338 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
2527723d
ZL
339!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
340 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf\r
341!endif\r
b80c17b6
GD
342!endif\r
343\r
344[LibraryClasses.common.DXE_SMM_DRIVER]\r
345!if $(SMM_SUPPORT) == TRUE\r
346 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
347\r
348 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
349 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
350 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
351 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
0023e35c 352 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
b80c17b6
GD
353 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
354 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
355 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
356 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
63e155f2 357 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf\r
2527723d
ZL
358!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
359 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf\r
360!endif\r
b80c17b6
GD
361!endif\r
362!if $(VARIABLE_SUPPORT) == "SPI"\r
363 SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf\r
364 FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf\r
365 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
366!endif\r
367\r
04af8bf2
DG
368################################################################################\r
369#\r
370# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
371#\r
372################################################################################\r
373[PcdsFeatureFlag]\r
04af8bf2
DG
374 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
375 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
376 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
3eb72b30
ZL
377 ## This PCD specified whether ACPI SDT protocol is installed.\r
378 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
ac6e5d6b
ZL
379 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE\r
b80c17b6 381 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
04af8bf2
DG
382\r
383[PcdsFixedAtBuild]\r
0023e35c 384 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1\r
04af8bf2
DG
385 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
386 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
387 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
b80c17b6
GD
388!if $(VARIABLE_SUPPORT) == "EMU"\r
389 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE\r
390!else\r
391 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE\r
392!endif\r
04af8bf2
DG
393\r
394 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
763e0f0a 395 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
04af8bf2 396 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
04af8bf2 397\r
27cb64ff 398 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }\r
04af8bf2
DG
399\r
400!if $(SOURCE_DEBUG_ENABLE)\r
401 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
402!endif\r
b80c17b6 403 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
2527723d
ZL
404 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE\r
405!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
406 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1\r
407!endif\r
79a705fb 408 gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MMC_TIMEOUT)\r
04af8bf2 409\r
091b6a11 410 gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G_MEMORY)\r
af74efe4 411 gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)\r
091b6a11 412\r
bda3546c
TD
413[PcdsPatchableInModule.X64]\r
414 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r
415 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r
76191052 416!if $(NETWORK_DRIVER_ENABLE) == TRUE\r
bda3546c 417 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
76191052 418!endif\r
bda3546c 419\r
04af8bf2 420[PcdsPatchableInModule.common]\r
19a541d7 421 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
04af8bf2
DG
422 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
423 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
424!if $(SOURCE_DEBUG_ENABLE)\r
425 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
426!else\r
427 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
428!endif\r
b40bdd6e 429 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)\r
04af8bf2
DG
430 #\r
431 # The following parameters are set by Library/PlatformHookLib\r
432 #\r
433 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
317d84ab 434 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0\r
04af8bf2
DG
435 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r
437\r
438 #\r
439 # Enable these parameters to be set on the command line\r
440 #\r
441 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r
442 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r
443 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r
04af8bf2 446\r
04af8bf2
DG
447 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r
448\r
449 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
ac6e5d6b 450 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r
422e5d2f 451 gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0\r
04af8bf2
DG
452\r
453################################################################################\r
454#\r
fa24b6ed 455# Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform\r
04af8bf2
DG
456#\r
457################################################################################\r
458\r
fa24b6ed 459[PcdsDynamicExDefault]\r
d497eace
ZL
460 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r
461 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r
462 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r
463 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r
464 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r
465 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport\r
466 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport\r
467 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport\r
468 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize\r
469 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds\r
470 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode\r
471 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress\r
472 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize\r
473!if $(TARGET) == DEBUG\r
474 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
475!else\r
476 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
477!endif\r
caa139fe 478 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
04af8bf2
DG
479 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
480 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
482 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
55637a28 483 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|$(PLATFORM_BOOT_TIMEOUT)\r
b80c17b6
GD
484!if $(VARIABLE_SUPPORT) == "SPI"\r
485 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0\r
486 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0\r
487 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0\r
488 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0\r
489!endif\r
490 # Disable SMM S3 script\r
491 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
04af8bf2
DG
492\r
493 ## This PCD defines the video horizontal resolution.\r
494 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
495 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
496 ## This PCD defines the video vertical resolution.\r
497 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
498 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
499\r
500 ## The PCD is used to specify the video horizontal resolution of text setup.\r
501 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r
502 ## The PCD is used to specify the video vertical resolution of text setup.\r
503 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r
504\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r
506 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r
3900a63e 507 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r
8028b290 508 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0\r
fa24b6ed
ZL
509 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r
510 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE\r
511 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r
99de2e7e 512 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
04af8bf2
DG
513\r
514################################################################################\r
515#\r
516# Components Section - list of all EDK II Modules needed by this Platform.\r
517#\r
518################################################################################\r
04af8bf2 519\r
f0fe55bc 520!if "IA32" in "$(ARCH)"\r
7c4ab1c2 521 [Components.IA32]\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
GD
527!else\r
528 [Components.X64]\r
6b69f73b
ZL
529 !if $(UNIVERSAL_PAYLOAD) == TRUE\r
530 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r
531 !else\r
7c4ab1c2 532 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r
6b69f73b 533 !endif\r
7c4ab1c2 534!endif\r
04af8bf2 535\r
d248516b
S
536#\r
537# UEFI network modules\r
538#\r
539!if $(NETWORK_DRIVER_ENABLE) == TRUE\r
76191052
GD
540[Defines]\r
541 DEFINE PLATFORMX64_ENABLE = TRUE\r
d248516b
S
542 !include NetworkPkg/Network.dsc.inc\r
543!endif\r
544\r
04af8bf2
DG
545[Components.X64]\r
546 #\r
547 # DXE Core\r
548 #\r
549 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
550 <LibraryClasses>\r
551 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
552 }\r
553\r
554 #\r
555 # Components that produce the architectural protocols\r
556 #\r
19ee56c4 557!if $(SECURITY_STUB_ENABLE) == TRUE\r
04af8bf2 558 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
19ee56c4 559!endif\r
04af8bf2
DG
560 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
561 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
562 MdeModulePkg/Application/UiApp/UiApp.inf {\r
563 <LibraryClasses>\r
564 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
565 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
566 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
567 }\r
96529213
FN
568 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {\r
569 <LibraryClasses>\r
570 NULL|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
571 }\r
04af8bf2
DG
572 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
573 MdeModulePkg/Universal/Metronome/Metronome.inf\r
574 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
575 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
576 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
577 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
2db0ed93 578!if $(DISABLE_RESET_SYSTEM) == FALSE\r
04af8bf2 579 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
2db0ed93 580!endif\r
04af8bf2 581 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
2db0ed93 582!if $(EMU_VARIABLE_ENABLE) == TRUE\r
04af8bf2 583 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
2db0ed93 584!endif\r
04af8bf2
DG
585 #\r
586 # Following are the DXE drivers\r
587 #\r
588 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
589 <LibraryClasses>\r
590 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
591 }\r
592\r
593 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
594 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
595 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
596 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
597 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
04af8bf2
DG
598 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
599 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
600 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
851785ea
S
601 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
602 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
04af8bf2
DG
603\r
604 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r
605\r
606 #\r
607 # SMBIOS Support\r
608 #\r
609 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
610\r
611 #\r
612 # ACPI Support\r
613 #\r
614 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
615\r
616 #\r
617 # PCI Support\r
618 #\r
619 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
620 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
621 <LibraryClasses>\r
622 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
623 }\r
624\r
625 #\r
626 # SCSI/ATA/IDE/DISK Support\r
627 #\r
628 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
629 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
630 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
631 FatPkg/EnhancedFatDxe/Fat.inf\r
632 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r
633 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
634 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
635 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
636 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
cf4cbe19 637 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
04af8bf2 638\r
d60915b7
ZL
639!if $(RAM_DISK_ENABLE) == TRUE\r
640 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
641!endif\r
04af8bf2
DG
642 #\r
643 # SD/eMMC Support\r
644 #\r
645 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r
646 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r
647 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r
648\r
649 #\r
650 # Usb Support\r
651 #\r
652 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
653 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
654 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
655 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
656 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
657 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
851785ea 658 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
04af8bf2
DG
659\r
660 #\r
661 # ISA Support\r
662 #\r
672bd1c7 663!if $(SERIAL_DRIVER_ENABLE) == TRUE\r
04af8bf2 664 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
672bd1c7 665!endif\r
d60915b7 666!if $(SIO_BUS_ENABLE) == TRUE\r
33a32936 667 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
d60915b7
ZL
668!endif\r
669!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
33a32936
DG
670 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
671!endif\r
851785ea 672 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
04af8bf2
DG
673\r
674 #\r
675 # Console Support\r
676 #\r
677 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
678 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
679 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
d9a40845 680!if $(DISABLE_SERIAL_TERMINAL) == FALSE\r
04af8bf2 681 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
d9a40845 682!endif\r
04af8bf2 683 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r
2527723d
ZL
684!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
685 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf\r
686!endif\r
b80c17b6
GD
687 #\r
688 # SMM Support\r
689 #\r
690!if $(SMM_SUPPORT) == TRUE\r
691 UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf\r
692 UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf\r
693 UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf\r
694 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
695 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
696 UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf\r
697 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
698 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
2527723d
ZL
699!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
700 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf\r
701!endif\r
b80c17b6
GD
702!endif\r
703\r
704!if $(VARIABLE_SUPPORT) == "EMU"\r
705 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
706!elseif $(VARIABLE_SUPPORT) == "SPI"\r
707 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
708 <LibraryClasses>\r
709 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
710 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r
711 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r
712 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r
713 }\r
714\r
715 UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf\r
716 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
717 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
718!endif\r
719\r
04af8bf2
DG
720 #------------------------------\r
721 # Build the shell\r
722 #------------------------------\r
723\r
724!if $(SHELL_TYPE) == BUILD_SHELL\r
725\r
726 #\r
727 # Shell Lib\r
728 #\r
729[LibraryClasses]\r
730 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
731 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
732 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
733 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
005a5f2d 734 !include NetworkPkg/NetworkLibs.dsc.inc\r
04af8bf2
DG
735\r
736[Components.X64]\r
737 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
738 <PcdsFixedAtBuild>\r
739 ## This flag is used to control initialization of the shell library\r
740 # This should be FALSE for compiling the dynamic command.\r
741 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
742 }\r
743 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
744 <PcdsFixedAtBuild>\r
745 ## This flag is used to control initialization of the shell library\r
746 # This should be FALSE for compiling the dynamic command.\r
747 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
748 }\r
749 ShellPkg/Application/Shell/Shell.inf {\r
750 <PcdsFixedAtBuild>\r
751 ## This flag is used to control initialization of the shell library\r
752 # This should be FALSE for compiling the shell application itself only.\r
753 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
754\r
755 #------------------------------\r
756 # Basic commands\r
757 #------------------------------\r
758\r
759 <LibraryClasses>\r
760 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
761 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
762 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
763 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
764 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
765 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
766\r
767 #------------------------------\r
768 # Networking commands\r
769 #------------------------------\r
770\r
771 <LibraryClasses>\r
772 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
773\r
774 #------------------------------\r
775 # Support libraries\r
776 #------------------------------\r
777\r
778 <LibraryClasses>\r
04af8bf2
DG
779 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
780 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
ef03e726 781 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
04af8bf2
DG
782 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
783 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
784 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
785 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
786 }\r
787\r
788!endif\r