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