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