]> git.proxmox.com Git - mirror_edk2.git/blame - UefiPayloadPkg/UefiPayloadPkg.dsc
DynamicTablesPkg: Add support to specify FADT minor revision
[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
f6f3cc7e
PH
183 BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf\r
184 TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf\r
d248516b
S
185 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
186 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
187 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
82f727c4 188 HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf\r
04af8bf2
DG
189\r
190 #\r
191 # UEFI & PI\r
192 #\r
193 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
194 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
195 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
196 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
197 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
198 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
199 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
200 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
04af8bf2
DG
201 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
202 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
203 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
204 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
205\r
206 #\r
207 # Generic Modules\r
208 #\r
209 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
210 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
211 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
212 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
213 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
214 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
215 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
216 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
217\r
218 #\r
219 # CPU\r
220 #\r
221 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
222 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
83c7f817 223 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r
04af8bf2
DG
224\r
225 #\r
226 # Platform\r
227 #\r
a867f3a7 228!if $(CPU_TIMER_LIB_ENABLE) == TRUE && $(UNIVERSAL_PAYLOAD) == TRUE\r
2527723d
ZL
229 TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf\r
230!else\r
04af8bf2 231 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
2527723d 232!endif\r
04af8bf2
DG
233 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
234 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
235 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
236 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
237 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
238\r
239 #\r
240 # Misc\r
241 #\r
3e130e40 242 DebugPrintErrorLevelLib|UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.inf\r
04af8bf2
DG
243 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
244!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
245 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
246 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
247!else\r
248 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
249 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
250!endif\r
251 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf\r
6b69f73b
ZL
252!if $(UNIVERSAL_PAYLOAD) == FALSE\r
253 !if $(BOOTLOADER) == "COREBOOT"\r
254 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf\r
255 !else\r
256 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf\r
257 !endif\r
04af8bf2
DG
258!endif\r
259\r
0023e35c 260 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
04af8bf2
DG
261 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
262 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
263 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
b80c17b6 264!if $(VARIABLE_SUPPORT) == "EMU"\r
04af8bf2 265 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
b80c17b6
GD
266!elseif $(VARIABLE_SUPPORT) == "SPI"\r
267 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
268 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
269 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
270 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
271!endif\r
04af8bf2 272 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
d49fe0ca
BB
273 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
274 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
1f026aba 275 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf\r
b80c17b6 276 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
0023e35c 277 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
04af8bf2 278\r
7c4ab1c2 279[LibraryClasses.common.SEC]\r
82f727c4 280 HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf\r
04af8bf2 281 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
82f727c4 282 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r
0023e35c 283 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
04af8bf2
DG
284\r
285[LibraryClasses.common.DXE_CORE]\r
82f727c4 286 DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r
04af8bf2
DG
287 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
288 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
289 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
290 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
291 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
292!if $(SOURCE_DEBUG_ENABLE)\r
293 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
294!endif\r
295 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
2527723d
ZL
296!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
297 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
298!endif\r
04af8bf2
DG
299\r
300[LibraryClasses.common.DXE_DRIVER]\r
301 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
04af8bf2
DG
302 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
303 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
304 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
305!if $(SOURCE_DEBUG_ENABLE)\r
306 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
307!endif\r
308 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
309 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
2527723d
ZL
310!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
311 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
312!endif\r
04af8bf2
DG
313\r
314[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
04af8bf2
DG
316 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
317 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
d49fe0ca 318 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
2527723d
ZL
319!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
320 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
321!endif\r
04af8bf2
DG
322\r
323[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
324 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
325 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
2527723d
ZL
327!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
328 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
329!endif\r
04af8bf2 330\r
b80c17b6
GD
331[LibraryClasses.common.SMM_CORE]\r
332!if $(SMM_SUPPORT) == TRUE\r
333 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
334 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
335\r
336 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
337 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
338 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
339 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
2527723d
ZL
340!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
341 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf\r
342!endif\r
b80c17b6
GD
343!endif\r
344\r
345[LibraryClasses.common.DXE_SMM_DRIVER]\r
346!if $(SMM_SUPPORT) == TRUE\r
347 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
348\r
349 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
350 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
351 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
352 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
0023e35c 353 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
b80c17b6
GD
354 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
355 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
356 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
357 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
63e155f2 358 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf\r
2527723d
ZL
359!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
360 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf\r
361!endif\r
b80c17b6
GD
362!endif\r
363!if $(VARIABLE_SUPPORT) == "SPI"\r
364 SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf\r
365 FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf\r
366 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
367!endif\r
368\r
04af8bf2
DG
369################################################################################\r
370#\r
371# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
372#\r
373################################################################################\r
374[PcdsFeatureFlag]\r
04af8bf2
DG
375 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
376 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
3eb72b30
ZL
378 ## This PCD specified whether ACPI SDT protocol is installed.\r
379 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
ac6e5d6b
ZL
380 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
381 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE\r
b80c17b6 382 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
04af8bf2
DG
383\r
384[PcdsFixedAtBuild]\r
0023e35c 385 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1\r
04af8bf2
DG
386 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
387 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
388 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
b80c17b6
GD
389!if $(VARIABLE_SUPPORT) == "EMU"\r
390 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE\r
391!else\r
392 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE\r
393!endif\r
04af8bf2
DG
394\r
395 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
763e0f0a 396 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
04af8bf2 397 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
04af8bf2 398\r
27cb64ff 399 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }\r
04af8bf2
DG
400\r
401!if $(SOURCE_DEBUG_ENABLE)\r
402 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
403!endif\r
b80c17b6 404 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
2527723d
ZL
405 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE\r
406!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
407 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1\r
408!endif\r
79a705fb 409 gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MMC_TIMEOUT)\r
04af8bf2 410\r
091b6a11 411 gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G_MEMORY)\r
af74efe4 412 gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)\r
cc2db6eb 413 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000\r
091b6a11 414\r
f6f3cc7e
PH
415 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
416 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
417 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
418 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Dh.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
419 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
420 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
421 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
422 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
423 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
424 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
425 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
426 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
427 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE\r
428 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE\r
429 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE\r
430 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE\r
431 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
432 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
433 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
434 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
435 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
436 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY\r
437\r
bda3546c
TD
438[PcdsPatchableInModule.X64]\r
439 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r
440 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r
76191052 441!if $(NETWORK_DRIVER_ENABLE) == TRUE\r
bda3546c 442 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
76191052 443!endif\r
bda3546c 444\r
04af8bf2 445[PcdsPatchableInModule.common]\r
19a541d7 446 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
04af8bf2
DG
447 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
448 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
449!if $(SOURCE_DEBUG_ENABLE)\r
450 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
451!else\r
452 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
453!endif\r
b40bdd6e 454 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)\r
04af8bf2
DG
455 #\r
456 # The following parameters are set by Library/PlatformHookLib\r
457 #\r
458 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
317d84ab 459 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0\r
04af8bf2
DG
460 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r
461 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r
462\r
463 #\r
464 # Enable these parameters to be set on the command line\r
465 #\r
466 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r
467 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r
468 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r
469 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r
04af8bf2 471\r
04af8bf2
DG
472 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r
473\r
474 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
ac6e5d6b 475 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r
422e5d2f 476 gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0\r
04af8bf2
DG
477\r
478################################################################################\r
479#\r
fa24b6ed 480# Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform\r
04af8bf2
DG
481#\r
482################################################################################\r
483\r
fa24b6ed 484[PcdsDynamicExDefault]\r
d497eace
ZL
485 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r
486 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r
487 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r
488 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r
489 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r
490 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport\r
491 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport\r
492 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport\r
493 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize\r
494 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds\r
495 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode\r
496 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress\r
497 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize\r
498!if $(TARGET) == DEBUG\r
499 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
500!else\r
501 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
502!endif\r
caa139fe 503 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
04af8bf2
DG
504 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
506 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
507 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
55637a28 508 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|$(PLATFORM_BOOT_TIMEOUT)\r
b80c17b6
GD
509!if $(VARIABLE_SUPPORT) == "SPI"\r
510 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0\r
511 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0\r
512 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0\r
513 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0\r
514!endif\r
515 # Disable SMM S3 script\r
516 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
04af8bf2
DG
517\r
518 ## This PCD defines the video horizontal resolution.\r
519 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
520 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
521 ## This PCD defines the video vertical resolution.\r
522 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
523 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
524\r
525 ## The PCD is used to specify the video horizontal resolution of text setup.\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r
527 ## The PCD is used to specify the video vertical resolution of text setup.\r
528 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r
529\r
530 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r
531 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r
3900a63e 532 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r
8028b290 533 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0\r
fa24b6ed
ZL
534 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r
535 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE\r
536 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r
99de2e7e 537 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
04af8bf2
DG
538\r
539################################################################################\r
540#\r
541# Components Section - list of all EDK II Modules needed by this Platform.\r
542#\r
543################################################################################\r
04af8bf2 544\r
f0fe55bc 545!if "IA32" in "$(ARCH)"\r
7c4ab1c2 546 [Components.IA32]\r
6b69f73b
ZL
547 !if $(UNIVERSAL_PAYLOAD) == TRUE\r
548 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r
549 !else\r
7c4ab1c2 550 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r
6b69f73b 551 !endif\r
7c4ab1c2
GD
552!else\r
553 [Components.X64]\r
6b69f73b
ZL
554 !if $(UNIVERSAL_PAYLOAD) == TRUE\r
555 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r
556 !else\r
7c4ab1c2 557 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r
6b69f73b 558 !endif\r
7c4ab1c2 559!endif\r
04af8bf2 560\r
d248516b
S
561#\r
562# UEFI network modules\r
563#\r
564!if $(NETWORK_DRIVER_ENABLE) == TRUE\r
76191052
GD
565[Defines]\r
566 DEFINE PLATFORMX64_ENABLE = TRUE\r
d248516b
S
567 !include NetworkPkg/Network.dsc.inc\r
568!endif\r
569\r
04af8bf2
DG
570[Components.X64]\r
571 #\r
572 # DXE Core\r
573 #\r
574 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
575 <LibraryClasses>\r
576 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
577 }\r
578\r
579 #\r
580 # Components that produce the architectural protocols\r
581 #\r
19ee56c4 582!if $(SECURITY_STUB_ENABLE) == TRUE\r
04af8bf2 583 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
19ee56c4 584!endif\r
04af8bf2
DG
585 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
586 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
587 MdeModulePkg/Application/UiApp/UiApp.inf {\r
588 <LibraryClasses>\r
589 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
590 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
591 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
592 }\r
96529213
FN
593 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {\r
594 <LibraryClasses>\r
595 NULL|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
596 }\r
04af8bf2
DG
597 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
598 MdeModulePkg/Universal/Metronome/Metronome.inf\r
599 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
600 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
601 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
602 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
2db0ed93 603!if $(DISABLE_RESET_SYSTEM) == FALSE\r
04af8bf2 604 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
2db0ed93 605!endif\r
04af8bf2 606 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
2db0ed93 607!if $(EMU_VARIABLE_ENABLE) == TRUE\r
04af8bf2 608 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
2db0ed93 609!endif\r
04af8bf2
DG
610 #\r
611 # Following are the DXE drivers\r
612 #\r
613 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
614 <LibraryClasses>\r
615 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
616 }\r
617\r
618 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
619 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
620 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
621 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
622 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
04af8bf2
DG
623 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
624 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
625 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
851785ea
S
626 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
627 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
04af8bf2
DG
628\r
629 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r
630\r
631 #\r
632 # SMBIOS Support\r
633 #\r
634 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
635\r
636 #\r
637 # ACPI Support\r
638 #\r
639 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
640\r
641 #\r
642 # PCI Support\r
643 #\r
644 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
645 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
646 <LibraryClasses>\r
647 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
648 }\r
649\r
650 #\r
651 # SCSI/ATA/IDE/DISK Support\r
652 #\r
653 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
654 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
655 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
656 FatPkg/EnhancedFatDxe/Fat.inf\r
657 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r
658 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
659 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
660 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
661 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
cf4cbe19 662 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
04af8bf2 663\r
d60915b7
ZL
664!if $(RAM_DISK_ENABLE) == TRUE\r
665 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
666!endif\r
04af8bf2
DG
667 #\r
668 # SD/eMMC Support\r
669 #\r
670 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r
671 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r
672 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r
673\r
674 #\r
675 # Usb Support\r
676 #\r
677 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
678 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
679 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
680 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
681 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
682 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
851785ea 683 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
04af8bf2
DG
684\r
685 #\r
686 # ISA Support\r
687 #\r
672bd1c7 688!if $(SERIAL_DRIVER_ENABLE) == TRUE\r
04af8bf2 689 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
672bd1c7 690!endif\r
d60915b7 691!if $(SIO_BUS_ENABLE) == TRUE\r
33a32936 692 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
d60915b7
ZL
693!endif\r
694!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
33a32936
DG
695 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
696!endif\r
851785ea 697 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
04af8bf2
DG
698\r
699 #\r
700 # Console Support\r
701 #\r
702 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
703 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
704 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
d9a40845 705!if $(DISABLE_SERIAL_TERMINAL) == FALSE\r
04af8bf2 706 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
d9a40845 707!endif\r
04af8bf2 708 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r
2527723d
ZL
709!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
710 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf\r
711!endif\r
b80c17b6
GD
712 #\r
713 # SMM Support\r
714 #\r
715!if $(SMM_SUPPORT) == TRUE\r
716 UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf\r
717 UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf\r
718 UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf\r
719 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
720 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
721 UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf\r
722 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
723 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
2527723d
ZL
724!if $(PERFORMANCE_MEASUREMENT_ENABLE)\r
725 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf\r
726!endif\r
b80c17b6
GD
727!endif\r
728\r
729!if $(VARIABLE_SUPPORT) == "EMU"\r
730 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
731!elseif $(VARIABLE_SUPPORT) == "SPI"\r
732 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
733 <LibraryClasses>\r
734 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
735 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r
736 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r
737 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r
738 }\r
739\r
740 UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf\r
741 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
742 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
743!endif\r
744\r
f6f3cc7e
PH
745 #\r
746 # Misc\r
747 #\r
748 CryptoPkg/Driver/CryptoDxe.inf {\r
749 <LibraryClasses>\r
750 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
751 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
752 }\r
753\r
04af8bf2
DG
754 #------------------------------\r
755 # Build the shell\r
756 #------------------------------\r
757\r
758!if $(SHELL_TYPE) == BUILD_SHELL\r
759\r
760 #\r
761 # Shell Lib\r
762 #\r
763[LibraryClasses]\r
764 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
765 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
766 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
767 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
005a5f2d 768 !include NetworkPkg/NetworkLibs.dsc.inc\r
04af8bf2
DG
769\r
770[Components.X64]\r
771 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
772 <PcdsFixedAtBuild>\r
773 ## This flag is used to control initialization of the shell library\r
774 # This should be FALSE for compiling the dynamic command.\r
775 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
776 }\r
777 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
778 <PcdsFixedAtBuild>\r
779 ## This flag is used to control initialization of the shell library\r
780 # This should be FALSE for compiling the dynamic command.\r
781 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
782 }\r
783 ShellPkg/Application/Shell/Shell.inf {\r
784 <PcdsFixedAtBuild>\r
785 ## This flag is used to control initialization of the shell library\r
786 # This should be FALSE for compiling the shell application itself only.\r
787 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
788\r
789 #------------------------------\r
790 # Basic commands\r
791 #------------------------------\r
792\r
793 <LibraryClasses>\r
794 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
795 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
796 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
797 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
798 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
799 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
800\r
801 #------------------------------\r
802 # Networking commands\r
803 #------------------------------\r
804\r
805 <LibraryClasses>\r
806 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
807\r
808 #------------------------------\r
809 # Support libraries\r
810 #------------------------------\r
811\r
812 <LibraryClasses>\r
04af8bf2
DG
813 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
814 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
ef03e726 815 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
04af8bf2
DG
816 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
817 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
818 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
819 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
820 }\r
821\r
822!endif\r