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