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