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