]> git.proxmox.com Git - mirror_edk2.git/blob - UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc
UefiPayloadPkg: Fix TerminalDxe build time configurable
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadPkgIa32X64.dsc
1 ## @file
2 # Bootloader Payload Package
3 #
4 # Provides drivers and definitions to create uefi payload for bootloaders.
5 #
6 # Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 PLATFORM_NAME = UefiPayloadPkg
18 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21 SUPPORTED_ARCHITECTURES = IA32|X64
22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
23 SKUID_IDENTIFIER = DEFAULT
24 OUTPUT_DIRECTORY = Build/UefiPayloadPkgX64
25 FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf
26
27 DEFINE SOURCE_DEBUG_ENABLE = FALSE
28 DEFINE PS2_KEYBOARD_ENABLE = FALSE
29
30 #
31 # SBL: UEFI payload for Slim Bootloader
32 # COREBOOT: UEFI payload for coreboot
33 #
34 DEFINE BOOTLOADER = SBL
35
36 #
37 # CPU options
38 #
39 DEFINE MAX_LOGICAL_PROCESSORS = 64
40
41 #
42 # PCI options
43 #
44 DEFINE PCIE_BASE_SUPPORT = TRUE
45
46 #
47 # Serial port set up
48 #
49 DEFINE BAUD_RATE = 115200
50 DEFINE SERIAL_CLOCK_RATE = 1843200
51 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
52 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
53 DEFINE SERIAL_DETECT_CABLE = FALSE
54 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
55 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16
56 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
57 DEFINE UART_DEFAULT_DATA_BITS = 8
58 DEFINE UART_DEFAULT_PARITY = 1
59 DEFINE UART_DEFAULT_STOP_BITS = 1
60 DEFINE DEFAULT_TERMINAL_TYPE = 0
61
62 # Enabling the serial terminal will slow down the boot menu redering!
63 DEFINE DISABLE_SERIAL_TERMINAL = FALSE
64
65 #
66 # typedef struct {
67 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
68 # UINT16 DeviceId; ///< Device ID to match the PCI device
69 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
70 # UINT64 Offset; ///< The byte offset into to the BAR
71 # UINT8 BarIndex; ///< Which BAR to get the UART base address
72 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
73 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
74 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
75 # UINT8 Reserved[2];
76 # } PCI_SERIAL_PARAMETER;
77 #
78 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
79 #
80 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
81 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}
82
83 #
84 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]
85 #
86 DEFINE SHELL_TYPE = BUILD_SHELL
87
88 [BuildOptions]
89 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
90 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
91 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
92 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
93 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
94
95
96 ################################################################################
97 #
98 # SKU Identification section - list of all SKU IDs supported by this Platform.
99 #
100 ################################################################################
101 [SkuIds]
102 0|DEFAULT
103
104 ################################################################################
105 #
106 # Library Class section - list of all Library Classes needed by this Platform.
107 #
108 ################################################################################
109 [LibraryClasses]
110 #
111 # Entry point
112 #
113 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
114 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
115 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
116 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
117 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
118
119 #
120 # Basic
121 #
122 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
123 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
124 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
125 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
126 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
127 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
128 !if $(PCIE_BASE_SUPPORT) == FALSE
129 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
130 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
131 !else
132 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
133 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
134 !endif
135 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
136 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf
137 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
138 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
139 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
140
141 #
142 # UEFI & PI
143 #
144 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
145 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
146 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
147 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
148 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
149 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
150 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
151 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
152 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
153 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
154 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
155 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
156 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
157 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
158
159 #
160 # Generic Modules
161 #
162 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
163 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
164 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
165 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
166 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
167 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
168 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
169 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
170
171 #
172 # CPU
173 #
174 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
175 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
176
177 #
178 # Platform
179 #
180 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
181 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
182 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
183 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
184 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
185 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
186
187 #
188 # Misc
189 #
190 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
191 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
192 !if $(SOURCE_DEBUG_ENABLE) == TRUE
193 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
194 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
195 !else
196 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
197 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
198 !endif
199 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf
200 !if $(BOOTLOADER) == "COREBOOT"
201 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf
202 !else
203 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf
204 !endif
205
206 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
207 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
208 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
209 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
210 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
211 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
212
213 [LibraryClasses.IA32.SEC]
214 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
215 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
216 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
217 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
218 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
219 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
220
221 [LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]
222 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
223 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
224 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
225 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
226 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
227 !if $(SOURCE_DEBUG_ENABLE)
228 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
229 !endif
230
231 [LibraryClasses.common.DXE_CORE]
232 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
233 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
234 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
235 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
236 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
237 !if $(SOURCE_DEBUG_ENABLE)
238 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
239 !endif
240 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
241
242 [LibraryClasses.common.DXE_DRIVER]
243 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
244 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
245 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
246 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
247 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
248 !if $(SOURCE_DEBUG_ENABLE)
249 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
250 !endif
251 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
252 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
253
254 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
255 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
256 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
257 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
258 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
259
260 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
261 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
262 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
263 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
264 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
265
266 ################################################################################
267 #
268 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
269 #
270 ################################################################################
271 [PcdsFeatureFlag]
272 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
273 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
274 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
275
276 [PcdsFixedAtBuild]
277 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
278 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
279 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
280 #
281 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
282 #
283 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
284
285 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
286 !if $(TARGET) == DEBUG
287 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
288 !else
289 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
290 !endif
291 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
292 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
293 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
294
295
296 !if $(SOURCE_DEBUG_ENABLE)
297 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
298 !endif
299
300 [PcdsPatchableInModule.common]
301 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
302 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
303 !if $(SOURCE_DEBUG_ENABLE)
304 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
305 !else
306 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
307 !endif
308
309 #
310 # The following parameters are set by Library/PlatformHookLib
311 #
312 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
314 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
315 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
316
317 #
318 # Enable these parameters to be set on the command line
319 #
320 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
321 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
324 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
325 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
326
327 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
328 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
329 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
330 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
331 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
332 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
333 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
334
335 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
336
337
338 ################################################################################
339 #
340 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
341 #
342 ################################################################################
343
344 [PcdsDynamicDefault]
345 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
346 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
347 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
348 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
349 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
350
351 ## This PCD defines the video horizontal resolution.
352 # This PCD could be set to 0 then video resolution could be at highest resolution.
353 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
354 ## This PCD defines the video vertical resolution.
355 # This PCD could be set to 0 then video resolution could be at highest resolution.
356 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
357
358 ## The PCD is used to specify the video horizontal resolution of text setup.
359 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
360 ## The PCD is used to specify the video vertical resolution of text setup.
361 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
362
363 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
364 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
365 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
366
367 ################################################################################
368 #
369 # Components Section - list of all EDK II Modules needed by this Platform.
370 #
371 ################################################################################
372 [Components.IA32]
373 #
374 # SEC Core
375 #
376 UefiPayloadPkg/SecCore/SecCore.inf
377
378 #
379 # PEI Core
380 #
381 MdeModulePkg/Core/Pei/PeiMain.inf
382
383 #
384 # PEIM
385 #
386 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
387 <LibraryClasses>
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
389 }
390 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
391 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
392
393 UefiPayloadPkg/BlSupportPei/BlSupportPei.inf
394 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
395
396 [Components.X64]
397 #
398 # DXE Core
399 #
400 MdeModulePkg/Core/Dxe/DxeMain.inf {
401 <LibraryClasses>
402 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
403 }
404
405 #
406 # Components that produce the architectural protocols
407 #
408 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
409 UefiCpuPkg/CpuDxe/CpuDxe.inf
410 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
411 MdeModulePkg/Application/UiApp/UiApp.inf {
412 <LibraryClasses>
413 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
414 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
415 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
416 }
417
418 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
419 MdeModulePkg/Universal/Metronome/Metronome.inf
420 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
421 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
422 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
423 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
424 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
425 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
426 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
427
428 #
429 # Following are the DXE drivers
430 #
431 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
432 <LibraryClasses>
433 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
434 }
435
436 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
437 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
438 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
439 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
440 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
441 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
442 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
443 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
444
445 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
446
447 #
448 # SMBIOS Support
449 #
450 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
451
452 #
453 # ACPI Support
454 #
455 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
456
457 #
458 # PCI Support
459 #
460 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
461 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
462 <LibraryClasses>
463 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
464 }
465
466 #
467 # SCSI/ATA/IDE/DISK Support
468 #
469 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
470 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
471 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
472 FatPkg/EnhancedFatDxe/Fat.inf
473 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
474 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
475 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
476 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
477 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
478
479 #
480 # SD/eMMC Support
481 #
482 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
483 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
484 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
485
486 #
487 # Usb Support
488 #
489 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
490 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
491 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
492 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
493 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
494 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
495
496 #
497 # ISA Support
498 #
499 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
500 !if $(PS2_KEYBOARD_ENABLE) == TRUE
501 OvmfPkg/SioBusDxe/SioBusDxe.inf
502 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
503 !endif
504
505 #
506 # Console Support
507 #
508 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
509 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
510 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
511 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
512 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
513 !endif
514 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
515
516 #------------------------------
517 # Build the shell
518 #------------------------------
519
520 !if $(SHELL_TYPE) == BUILD_SHELL
521
522 #
523 # Shell Lib
524 #
525 [LibraryClasses]
526 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
527 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
528 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
529 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
530 !include NetworkPkg/NetworkLibs.dsc.inc
531
532 [Components.X64]
533 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
534 <PcdsFixedAtBuild>
535 ## This flag is used to control initialization of the shell library
536 # This should be FALSE for compiling the dynamic command.
537 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
538 }
539 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
540 <PcdsFixedAtBuild>
541 ## This flag is used to control initialization of the shell library
542 # This should be FALSE for compiling the dynamic command.
543 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
544 }
545 ShellPkg/Application/Shell/Shell.inf {
546 <PcdsFixedAtBuild>
547 ## This flag is used to control initialization of the shell library
548 # This should be FALSE for compiling the shell application itself only.
549 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
550
551 #------------------------------
552 # Basic commands
553 #------------------------------
554
555 <LibraryClasses>
556 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
557 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
558 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
559 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
560 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
561 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
562
563 #------------------------------
564 # Networking commands
565 #------------------------------
566
567 <LibraryClasses>
568 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
569
570 #------------------------------
571 # Support libraries
572 #------------------------------
573
574 <LibraryClasses>
575 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
576 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
577 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
578 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
579 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
580 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
581 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
582 }
583
584 !endif