]> git.proxmox.com Git - mirror_edk2.git/blob - UefiPayloadPkg/UefiPayloadPkgIa32.dsc
UefiPayloadPkg: Prepare UefiPayloadPkg to use the VmgExitLib library
[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 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.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 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
254
255 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
257 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
258 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
259 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
260
261 [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
262 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
263 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
265 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
266
267 ################################################################################
268 #
269 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
270 #
271 ################################################################################
272 [PcdsFeatureFlag]
273 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
274 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
275 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
276
277 [PcdsFixedAtBuild]
278 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
279 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
280 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
281 #
282 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
283 #
284 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
285
286 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
287 !if $(TARGET) == DEBUG
288 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
289 !else
290 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
291 !endif
292 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
293 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
294
295 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|$(PCIE_BASE)
296
297 !if $(SOURCE_DEBUG_ENABLE)
298 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
299 !endif
300
301 [PcdsPatchableInModule.common]
302 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
304 !if $(SOURCE_DEBUG_ENABLE)
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
306 !else
307 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
308 !endif
309
310 #
311 # The following parameters are set by Library/PlatformHookLib
312 #
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
314 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
315 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
316 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
317
318 #
319 # Enable these parameters to be set on the command line
320 #
321 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
324 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
325 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
326 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
327
328 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
329 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
330 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
331 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
332 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
333 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
334 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
335
336 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
337
338
339 ################################################################################
340 #
341 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
342 #
343 ################################################################################
344
345 [PcdsDynamicDefault]
346 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
347 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
348 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
349 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
350 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
351
352 ## This PCD defines the video horizontal resolution.
353 # This PCD could be set to 0 then video resolution could be at highest resolution.
354 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
355 ## This PCD defines the video vertical resolution.
356 # This PCD could be set to 0 then video resolution could be at highest resolution.
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
358
359 ## The PCD is used to specify the video horizontal resolution of text setup.
360 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0
361 ## The PCD is used to specify the video vertical resolution of text setup.
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0
363
364 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
365 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
366 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0
367
368 ################################################################################
369 #
370 # Components Section - list of all EDK II Modules needed by this Platform.
371 #
372 ################################################################################
373 [Components.IA32]
374 #
375 # SEC Core
376 #
377 UefiPayloadPkg/SecCore/SecCore.inf
378
379 #
380 # PEI Core
381 #
382 MdeModulePkg/Core/Pei/PeiMain.inf
383
384 #
385 # PEIM
386 #
387 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
388 <LibraryClasses>
389 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
390 }
391 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
392 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
393
394 UefiPayloadPkg/BlSupportPei/BlSupportPei.inf
395 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
396
397 [Components.IA32]
398 #
399 # DXE Core
400 #
401 MdeModulePkg/Core/Dxe/DxeMain.inf {
402 <LibraryClasses>
403 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
404 }
405
406 #
407 # Components that produce the architectural protocols
408 #
409 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
410 UefiCpuPkg/CpuDxe/CpuDxe.inf
411 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
412 MdeModulePkg/Application/UiApp/UiApp.inf {
413 <LibraryClasses>
414 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
415 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
416 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
417 }
418
419 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
420 MdeModulePkg/Universal/Metronome/Metronome.inf
421 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
422 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
423 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
424 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
425 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
426 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
427 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
428
429 #
430 # Following are the DXE drivers
431 #
432 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
433 <LibraryClasses>
434 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
435 }
436
437 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
438 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
439 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
440 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
441 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
442 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
443 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
444 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
445
446 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
447
448 #
449 # SMBIOS Support
450 #
451 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
452
453 #
454 # ACPI Support
455 #
456 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
457
458 #
459 # PCI Support
460 #
461 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
462 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
463 <LibraryClasses>
464 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
465 }
466
467 #
468 # SCSI/ATA/IDE/DISK Support
469 #
470 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
471 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
472 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
473 FatPkg/EnhancedFatDxe/Fat.inf
474 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
475 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
476 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
477 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
478 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
479
480 #
481 # SD/eMMC Support
482 #
483 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
484 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
485 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
486
487 #
488 # Usb Support
489 #
490 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
491 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
492 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
493 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
494 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
495 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
496
497 #
498 # ISA Support
499 #
500 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
501 !if $(PS2_KEYBOARD_ENABLE) == TRUE
502 OvmfPkg/SioBusDxe/SioBusDxe.inf
503 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
504 !endif
505
506 #
507 # Console Support
508 #
509 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
510 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
511 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
512 !if $(DISABLE_SERIAL_TERMINAL) == FALSE
513 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
514 !endif
515 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
516
517 #------------------------------
518 # Build the shell
519 #------------------------------
520
521 !if $(SHELL_TYPE) == BUILD_SHELL
522
523 #
524 # Shell Lib
525 #
526 [LibraryClasses]
527 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
528 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
529 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
530 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
531 !include NetworkPkg/NetworkLibs.dsc.inc
532
533 [Components.IA32]
534 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
535 <PcdsFixedAtBuild>
536 ## This flag is used to control initialization of the shell library
537 # This should be FALSE for compiling the dynamic command.
538 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
539 }
540 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
541 <PcdsFixedAtBuild>
542 ## This flag is used to control initialization of the shell library
543 # This should be FALSE for compiling the dynamic command.
544 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
545 }
546 ShellPkg/Application/Shell/Shell.inf {
547 <PcdsFixedAtBuild>
548 ## This flag is used to control initialization of the shell library
549 # This should be FALSE for compiling the shell application itself only.
550 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
551
552 #------------------------------
553 # Basic commands
554 #------------------------------
555
556 <LibraryClasses>
557 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
558 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
559 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
560 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
561 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
562 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
563
564 #------------------------------
565 # Networking commands
566 #------------------------------
567
568 <LibraryClasses>
569 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
570
571 #------------------------------
572 # Support libraries
573 #------------------------------
574
575 <LibraryClasses>
576 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
577 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
578 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
579 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
580 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
581 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
582 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
583 }
584
585 !endif