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