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