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