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